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

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

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

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

      1. <tfoot id='OrxFh'></tfoot>
      2. Debezium 如何使用 Kafka Connect 正確注冊 SqlServer 連接

        Debezium How do I correctly register the SqlServer connector with Kafka Connect - connection refused(Debezium 如何使用 Kafka Connect 正確注冊 SqlServer 連接器 - 連接被拒絕)
      3. <i id='c3lJe'><tr id='c3lJe'><dt id='c3lJe'><q id='c3lJe'><span id='c3lJe'><b id='c3lJe'><form id='c3lJe'><ins id='c3lJe'></ins><ul id='c3lJe'></ul><sub id='c3lJe'></sub></form><legend id='c3lJe'></legend><bdo id='c3lJe'><pre id='c3lJe'><center id='c3lJe'></center></pre></bdo></b><th id='c3lJe'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='c3lJe'><tfoot id='c3lJe'></tfoot><dl id='c3lJe'><fieldset id='c3lJe'></fieldset></dl></div>

        <legend id='c3lJe'><style id='c3lJe'><dir id='c3lJe'><q id='c3lJe'></q></dir></style></legend>

        • <bdo id='c3lJe'></bdo><ul id='c3lJe'></ul>
        • <small id='c3lJe'></small><noframes id='c3lJe'>

                <tbody id='c3lJe'></tbody>
              <tfoot id='c3lJe'></tfoot>
                1. 本文介紹了Debezium 如何使用 Kafka Connect 正確注冊 SqlServer 連接器 - 連接被拒絕的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  問題:

                  如何使用 Kafka Connect 正確注冊 SqlServer 連接器以連接到獨立的 SQL Server 實例?注意:我沒有在 Docker 中運行 SQL Server.

                  How do I correctly register the SqlServer connector with Kafka Connect to connect to a standalone SQL Server Instance? Note: I am NOT running SQL Server in Docker.

                  錯誤:

                  錯誤:由:com.microsoft.sqlserver.jdbc.SQLServerException引起:TCP/IP 連接到主機 127.0.0.1,端口 1433 失敗.錯誤:連接被拒絕(Connection denied).驗證連接特性.確保 SQL Server 的實例正在運行主機并在端口接受 TCP/IP 連接.確保 TCP與端口的連接未被防火墻阻止.".

                  Error: Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 127.0.0.1, port 1433 has failed. Error: "Connection refused (Connection refused). Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".

                  問題排查:

                  1. 在 dbo.Posts 表上啟用 CDC(見下文)
                  2. 在 SQL Server 配置管理器的 SQL Server 網絡配置中驗證 TCP/IP 已啟用并將所有地址設置為已啟用并在端口 1433 上處于活動狀態
                  3. 禁用 Windows 防火墻
                  4. 在 SQL Server 配置管理器中啟用 SQL Server 瀏覽器
                  5. 驗證我可以遠程登錄以下內容:(127.0.0.1 1433; localhost 1433; lt-ls231 1433)

                  上下文:

                  我正在嘗試使用 Docker 在 Windows 10 上設置 Debezium.我可以毫無問題地在 Powershell 中成功運行以下命令:

                  I am attempting to setup Debezium on Windows 10 using Docker. I can successfully run the following commands in Powershell without problem:

                  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 --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-Connect connect 注冊 SQL Server 連接時出現錯誤(見上文),我運行以下命令:

                  I get an error (see above) when I attempt to register the SQL Server connection with Kafka-Connect connect, I run the following command:

                  Invoke-RestMethod -Method Post -Uri 'http://localhost:8083/connectors/' -Headers @{'Accept' = 'application/json'; 'Content-Type' = 'application/json'} -Body '{"name": "mssqlserver-localhost-testDb-connector",  "config": {"connector.class": "io.debezium.connector.sqlserver.SqlServerConnector", "database.hostname": "127.0.0.1", "database.port": "1433", "database.user": "svc_kafka", "database.password": "password", "database.dbname": "Posts", "database.server.name": "LT-LS231", "table.whitelist": "dbo.Posts", "database.history.kafka.bootstrap.servers": "kafka:9092", "database.history.kafka.topic": "dbhistory.LT-LS231" }}'
                  

                  格式化后的JSON如下:

                  The formatted JSON is as follows:

                  Invoke-RestMethod -Method Post -Uri 'http://localhost:8083/connectors/' -Headers @{'Accept' = 'application/json'; 'Content-Type' = 'application/json'} -Body '
                  
                  {  
                      "name": "mssqlserver-localhost-testDb-connector",  
                      "config": {
                          "connector.class": "io.debezium.connector.sqlserver.SqlServerConnector", 
                          "database.hostname": "127.0.0.1", 
                          "database.port": "1433", 
                          "database.user": "svc_kafka", 
                          "database.password": "password", 
                          "database.dbname": "Posts", 
                          "database.server.name": "LT-LS231", 
                          "table.whitelist": "dbo.Posts", 
                          "database.history.kafka.bootstrap.servers": "kafka:9092", 
                          "database.history.kafka.topic": "dbhistory.LT-LS231" 
                    }
                  }'
                  

                  這是根據 Debezium 網站上提供的 JSON 建模的:https://debezium.io/documentation/reference/1.1/connectors/sqlserver.html#sqlserver-deploying-a-connector

                  This is modeled after the JSON provided on Debezium's site: https://debezium.io/documentation/reference/1.1/connectors/sqlserver.html#sqlserver-deploying-a-connector

                  推薦答案

                  問題在于對 localhost 的引用.如果您在 Docker 容器中運行 Connect,則 localhost 是容器的本地主機,而不是機器的本地主機.嘗試在 docker0 接口或所有接口上公開 SQL Server,然后在注冊請求中使用 docker0 IP.

                  The problem is in the reference to the localhost. If you run the Connect in Docker container then the localhost is the localhost of the container not of the machine. Try exposing the SQL Server on docker0 interface or all intefaces and then use docker0 IP in the registration request.

                  這篇關于Debezium 如何使用 Kafka Connect 正確注冊 SqlServer 連接器 - 連接被拒絕的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  pyspark mysql jdbc load An error occurred while calling o23.load No suitable driver(pyspark mysql jdbc load 調用 o23.load 時發生錯誤 沒有合適的驅動程序)
                  Break down a table to pivot in columns (SQL,PYSPARK)(分解表以按列進行透視(SQL、PYSPARK))
                  Spark giving Null Pointer Exception while performing jdbc save(Spark在執行jdbc保存時給出空指針異常)
                  execute query on sqlserver using spark sql(使用 spark sql 在 sqlserver 上執行查詢)
                  pyspark mysql jdbc load An error occurred while calling o23.load No suitable driver(pyspark mysql jdbc load 調用 o23.load 時發生錯誤 沒有合適的驅動程序)
                  How can I compare the one line in one CSV with all lines in another CSV file?(如何將一個 CSV 中的一行與另一個 CSV 文件中的所有行進行比較?)
                  <tfoot id='Xb5dR'></tfoot>

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

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

                            <bdo id='Xb5dR'></bdo><ul id='Xb5dR'></ul>
                              <tbody id='Xb5dR'></tbody>
                          • <legend id='Xb5dR'><style id='Xb5dR'><dir id='Xb5dR'><q id='Xb5dR'></q></dir></style></legend>
                            主站蜘蛛池模板: 久久中文字幕一区 | 久久99视频精品 | 一区二区在线 | 男人天堂99 | 91xh98hx 在线 国产 | 黑人精品xxx一区一二区 | 久久精品99 | 亚洲欧美日韩在线不卡 | 免费av手机在线观看 | 97免费视频在线观看 | 一区二区国产精品 | 成人av电影免费在线观看 | 精品中文字幕视频 | 国产传媒毛片精品视频第一次 | 一级片免费在线观看 | 99久久精品免费看国产高清 | 日韩av一区二区在线 | 天堂网色| 色爽女 | 色视频免费 | 午夜精品久久久久久久 | 国产一区三区在线 | 精品一区二区三区视频在线观看 | 91高清在线视频 | 四虎影院免费在线播放 | 91在线看| 国产 91 视频 | 亚洲欧美日本在线 | 国产精品黄视频 | 欧美 中文字幕 | 成人av免费在线观看 | 一级毛片免费 | 视频一区二区中文字幕日韩 | 久久国产电影 | 国产精品久久久久久久7777 | 欧美自拍第一页 | 在线观看黄色电影 | 国产美女在线观看 | 国产精品污www一区二区三区 | 免费特级黄毛片 | 国产伦精品一区二区三区在线 |