久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <legend id='pUIh6'><style id='pUIh6'><dir id='pUIh6'><q id='pUIh6'></q></dir></style></legend>
    <i id='pUIh6'><tr id='pUIh6'><dt id='pUIh6'><q id='pUIh6'><span id='pUIh6'><b id='pUIh6'><form id='pUIh6'><ins id='pUIh6'></ins><ul id='pUIh6'></ul><sub id='pUIh6'></sub></form><legend id='pUIh6'></legend><bdo id='pUIh6'><pre id='pUIh6'><center id='pUIh6'></center></pre></bdo></b><th id='pUIh6'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='pUIh6'><tfoot id='pUIh6'></tfoot><dl id='pUIh6'><fieldset id='pUIh6'></fieldset></dl></div>

  • <tfoot id='pUIh6'></tfoot>

    1. <small id='pUIh6'></small><noframes id='pUIh6'>

        <bdo id='pUIh6'></bdo><ul id='pUIh6'></ul>

      1. Debezium:無法在 Kafka-Connect Docker 容器上設(shè)置觀察者

        Debezium: Unable to setup watcher on Kafka-Connect Docker container. Error while fetching metadata with correlation id 2 ... LEADER_NOT_AVAILABLE(Debezium:無法在 Kafka-Connect Docker 容器上設(shè)置觀察者.獲取關(guān)聯(lián) ID 為 2 的元數(shù)據(jù)
      2. <legend id='DNkdK'><style id='DNkdK'><dir id='DNkdK'><q id='DNkdK'></q></dir></style></legend>
        <i id='DNkdK'><tr id='DNkdK'><dt id='DNkdK'><q id='DNkdK'><span id='DNkdK'><b id='DNkdK'><form id='DNkdK'><ins id='DNkdK'></ins><ul id='DNkdK'></ul><sub id='DNkdK'></sub></form><legend id='DNkdK'></legend><bdo id='DNkdK'><pre id='DNkdK'><center id='DNkdK'></center></pre></bdo></b><th id='DNkdK'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='DNkdK'><tfoot id='DNkdK'></tfoot><dl id='DNkdK'><fieldset id='DNkdK'></fieldset></dl></div>
          <tbody id='DNkdK'></tbody>

                  <bdo id='DNkdK'></bdo><ul id='DNkdK'></ul>
                  <tfoot id='DNkdK'></tfoot>

                  <small id='DNkdK'></small><noframes id='DNkdK'>

                  本文介紹了Debezium:無法在 Kafka-Connect Docker 容器上設(shè)置觀察者.獲取關(guān)聯(lián) ID 為 2 的元數(shù)據(jù)時出錯... LEADER_NOT_AVAILABLE的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  問題:

                  如何設(shè)置觀察者以在對數(shù)據(jù)庫進行更改時實時觀察 Kafka-Connect 流?我在獲取相關(guān) ID 為 2 的元數(shù)據(jù)時遇到 錯誤:{dbhistory.Test.Posts=LEADER_NOT_AVAILABLE}.導(dǎo)致問題的原因是什么,我該如何解決?

                  How do I setup watcher to watch a Kafka-Connect stream in real-time as changes are made to the database? I am getting Error while fetching metadata with correlation id 2 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE}. What is causing the problem and how do I fix it?

                  上下文:

                  這個問題與:Debezium 如何使用 Kafka Connect 正確注冊 SqlServer 連接器 - 連接被拒絕和https://github.com/debezium/debezium-examples/blob/master/tutorial/README.md#using-sql-server

                  在 Windows 10 中,我使用以下命令在各自獨立的 Docker 容器中設(shè)置了 Zookeeper、Kafka 和 Kafka-Connector:

                  In Windows 10, I have setup Zookeeper, Kafka, and Kafka-Connector all in their own separate Docker containers using the following commands:

                  docker run -it --rm --name zookeeper -p 2181:2181 -p 2888:2888 -p 3888:3888 debezium/zookeeper:1.1
                  docker run -it --rm --name kafka -p 9092:9092 -e KAFKA_ADVERTISED_HOST_NAME: kafka --link zookeeper:zookeeper debezium/kafka:1.1
                  docker run -it --rm --name connect -p 8083:8083 -e GROUP_ID=1 -e CONFIG_STORAGE_TOPIC=my_connect_configs -e OFFSET_STORAGE_TOPIC=my_connect_offsets -e STATUS_STORAGE_TOPIC=my_connect_statuses --link zookeeper:zookeeper --link kafka:kafka debezium/connect:1.1
                  

                  然后,我將 Kafka 連接器設(shè)置為在 Docker 容器外部的本地主機上運行的 SQL Server 實例.日志顯示連接器可以連接到數(shù)據(jù)庫并獲取 CDC 數(shù)據(jù).到目前為止我還好.

                  I then setup a Kafka Connector to an instance of SQL Server that is running on the localhost, outside of a Docker container. The logs show that the connector can connect to the database and grab the CDC data. Up until this point I am OK.

                  但是,當(dāng)我嘗試創(chuàng)建觀察者時,使用以下命令:

                  However, when I try to create a watcher, using the following command:

                  docker run -it --rm --name watcher --link zookeeper:zookeeper --link kafka:kafka debezium/kafka:1.1 
                  

                  我收到以下錯誤.

                  watch-topic -a -k dbhistory.Test.Posts
                  WARNING: Using default BROKER_ID=1, which is valid only for non-clustered installations.
                  Using ZOOKEEPER_CONNECT=172.17.0.2:2181
                  Using KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://172.17.0.5:9092
                  Using KAFKA_BROKER=172.17.0.3:9092
                  Contents of topic dbhistory.Test.Posts:
                  [2020-04-08 15:18:39,373] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 2 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:41:20,501] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Connection to node 1 (/172.17.0.3:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:41:20,605] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Connection to node 1 (/172.17.0.3:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:41:20,807] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Connection to node 1 (/172.17.0.3:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:41:21,262] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Connection to node 1 (/172.17.0.3:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:41:22,120] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Connection to node 1 (/172.17.0.3:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:41:23,330] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Connection to node 1 (/172.17.0.3:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:41:24,189] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Connection to node 1 (/172.17.0.3:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:41:59,826] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Connection to node 1 (/172.17.0.3:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:04,051] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Connection to node 1 (/172.17.0.3:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:07,121] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Connection to node 1 (/172.17.0.3:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:08,024] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Connection to node 1 (/172.17.0.3:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:09,354] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11570 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:09,458] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11572 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:09,571] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11574 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:09,677] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11576 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:09,786] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11578 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:09,895] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11580 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:10,002] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11582 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:10,112] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11584 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:10,220] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11586 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:10,326] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11588 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:10,435] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11590 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:10,537] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11592 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:10,648] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11594 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:10,751] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11596 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 16:42:10,854] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Error while fetching metadata with correlation id 11598 : {dbhistory.Test.Posts=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 17:08:48,268] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Connection to node 1 (/172.17.0.3:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
                  [2020-04-08 17:09:55,602] WARN [Consumer clientId=consumer-console-consumer-3848-1, groupId=console-consumer-3848] Connection to node 1 (/172.17.0.3:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
                  

                  推薦答案

                  該問題很可能是由您定義環(huán)境變量的方式引起的.

                  The issue is most likely caused by the way you defined your environment variable.

                  替換:

                  -e KAFKA_ADVERTISED_HOST_NAME: kafka
                  

                  與:

                  -e KAFKA_ADVERTISED_HOST_NAME=kafka
                  

                  這篇關(guān)于Debezium:無法在 Kafka-Connect Docker 容器上設(shè)置觀察者.獲取關(guān)聯(lián) ID 為 2 的元數(shù)據(jù)時出錯... LEADER_NOT_AVAILABLE的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  pyspark mysql jdbc load An error occurred while calling o23.load No suitable driver(pyspark mysql jdbc load 調(diào)用 o23.load 時發(fā)生錯誤 沒有合適的驅(qū)動程序)
                  Break down a table to pivot in columns (SQL,PYSPARK)(分解表以按列進行透視(SQL、PYSPARK))
                  Spark giving Null Pointer Exception while performing jdbc save(Spark在執(zhí)行jdbc保存時給出空指針異常)
                  execute query on sqlserver using spark sql(使用 spark sql 在 sqlserver 上執(zhí)行查詢)
                  pyspark mysql jdbc load An error occurred while calling o23.load No suitable driver(pyspark mysql jdbc load 調(diào)用 o23.load 時發(fā)生錯誤 沒有合適的驅(qū)動程序)
                  How can I compare the one line in one CSV with all lines in another CSV file?(如何將一個 CSV 中的一行與另一個 CSV 文件中的所有行進行比較?)
                  <i id='68fdk'><tr id='68fdk'><dt id='68fdk'><q id='68fdk'><span id='68fdk'><b id='68fdk'><form id='68fdk'><ins id='68fdk'></ins><ul id='68fdk'></ul><sub id='68fdk'></sub></form><legend id='68fdk'></legend><bdo id='68fdk'><pre id='68fdk'><center id='68fdk'></center></pre></bdo></b><th id='68fdk'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='68fdk'><tfoot id='68fdk'></tfoot><dl id='68fdk'><fieldset id='68fdk'></fieldset></dl></div>
                • <legend id='68fdk'><style id='68fdk'><dir id='68fdk'><q id='68fdk'></q></dir></style></legend>

                  <small id='68fdk'></small><noframes id='68fdk'>

                      <bdo id='68fdk'></bdo><ul id='68fdk'></ul>

                          <tbody id='68fdk'></tbody>

                        • <tfoot id='68fdk'></tfoot>
                          1. 主站蜘蛛池模板: 欧美日韩国产一区 | 黄视频网站免费观看 | 狠狠入ady亚洲精品经典电影 | 亚洲v区| 亚洲精品免费视频 | 天天操夜夜艹 | 国产极品车模吞精高潮呻吟 | 8x国产精品视频一区二区 | 香蕉av免费| 桃花av在线| 久久精品女人天堂av | 看片网站在线 | 亚洲一区二区三区桃乃木香奈 | 亚洲欧美在线一区 | 国产在线网址 | 午夜色婷婷 | 久久九九99 | 欧美一级免费看 | 欧美精品日韩 | 欧美一级做a爰片免费视频 国产美女特级嫩嫩嫩bbb片 | 91久久久久久久久久久久久 | 中文字幕第十页 | 一区影院 | 精品国产一二三区 | 91在线视频一区 | www网站在线观看 | 中文字幕一区在线观看视频 | 亚洲成人蜜桃 | 狠狠色香婷婷久久亚洲精品 | 在线黄色网| 亚洲国产精品久久久久秋霞不卡 | 国产 日韩 欧美 在线 | 91高清视频在线观看 | 日韩电影免费在线观看中文字幕 | 亚洲成人av在线播放 | 精品一区二区在线观看 | 亚洲精品区 | 精品久久久久久久久久久久 | 欧美日韩一区在线播放 | 精品综合 | 欧美久久精品一级黑人c片 91免费在线视频 |