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

    1. <tfoot id='oXm3j'></tfoot>
      <legend id='oXm3j'><style id='oXm3j'><dir id='oXm3j'><q id='oXm3j'></q></dir></style></legend>
    2. <small id='oXm3j'></small><noframes id='oXm3j'>

      1. <i id='oXm3j'><tr id='oXm3j'><dt id='oXm3j'><q id='oXm3j'><span id='oXm3j'><b id='oXm3j'><form id='oXm3j'><ins id='oXm3j'></ins><ul id='oXm3j'></ul><sub id='oXm3j'></sub></form><legend id='oXm3j'></legend><bdo id='oXm3j'><pre id='oXm3j'><center id='oXm3j'></center></pre></bdo></b><th id='oXm3j'></th></span></q></dt></tr></i><div id='oXm3j'><tfoot id='oXm3j'></tfoot><dl id='oXm3j'><fieldset id='oXm3j'></fieldset></dl></div>

        Confluent JDBC Source 连接器的问题

        时间:2023-08-22
        <legend id='kb5Hz'><style id='kb5Hz'><dir id='kb5Hz'><q id='kb5Hz'></q></dir></style></legend>
      2. <tfoot id='kb5Hz'></tfoot>
          <bdo id='kb5Hz'></bdo><ul id='kb5Hz'></ul>
                  <tbody id='kb5Hz'></tbody>
                <i id='kb5Hz'><tr id='kb5Hz'><dt id='kb5Hz'><q id='kb5Hz'><span id='kb5Hz'><b id='kb5Hz'><form id='kb5Hz'><ins id='kb5Hz'></ins><ul id='kb5Hz'></ul><sub id='kb5Hz'></sub></form><legend id='kb5Hz'></legend><bdo id='kb5Hz'><pre id='kb5Hz'><center id='kb5Hz'></center></pre></bdo></b><th id='kb5Hz'></th></span></q></dt></tr></i><div id='kb5Hz'><tfoot id='kb5Hz'></tfoot><dl id='kb5Hz'><fieldset id='kb5Hz'></fieldset></dl></div>

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

                  本文介绍了Confluent JDBC Source 连接器的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我在尝试将 confluent 用于 kafka-connect 时遇到以下问题.我正在尝试按照 https://www.confluent.io/blog/simplest-useful-kafka-connect-data-pipeline-world-thereabouts-part-1/

                  I'm getting the below issue while trying to use the confluent for kafka-connect. I'm trying to follow the demo given at https://www.confluent.io/blog/simplest-useful-kafka-connect-data-pipeline-world-thereabouts-part-1/

                  错误:

                  ./bin/confluent load jdbc_source_mysql_foobar_01 -d /tmp/kafka-connect-jdbc-source.json
                  {
                  This CLI is intended for development only, not for production
                  https://docs.confluent.io/current/cli/index.html
                  
                  {
                    "error_code": 400,
                    "message": "Connector configuration is invalid and contains the following 2 error(s):\nInvalid value java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/demo?user=root&password=tiger for configuration Couldn't open connection to jdbc:mysql://localhost:3306/demo?user=root&password=tiger\nInvalid value java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/demo?user=root&password=tiger for configuration Couldn't open connection to jdbc:mysql://localhost:3306/demo?user=root&password=tiger\nYou can also find the above list of errors at the endpoint `/{connectorType}/config/validate`"
                  }
                  

                  推荐答案

                  Message No fit driver found for 表示找不到合适的 jdbc 驱动程序.

                  Message No suitable driver found for means, that proper jdbc driver cannot be found.

                  根据文章要修复上述错误,您需要在 share/java/kafka-connect-jdbc

                  According to article to fix above error you need to place appropriate jdbc driver in share/java/kafka-connect-jdbc

                  要使用 JDBC 连接器,您需要为源数据库提供相关的 JDBC 驱动程序.连接器附带了 PostgreSQL 和 sqlite 的驱动程序——对于所有其他人,下载适当的 JAR 并将其放在 share/java/kafka-connect-jdbc 中.您可以在此处找到 MySQL、Oracle、SQL Server、DB2 和 Teradata 的相关下载.

                  To use the JDBC connector, you’ll need to make available the relevant JDBC driver for your source database. The connector ships with drivers for PostgreSQL and sqlite—for all others download the appropriate JAR and place it in share/java/kafka-connect-jdbc. You can find the relevant downloads here for MySQL, Oracle, SQL Server, DB2, and Teradata.

                  复制jar后,需要重启Kafka Connect

                  After copying jars, you need to restart Kafka Connect

                  这篇关于Confluent JDBC Source 连接器的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:为什么 Kafka jdbc 将插入数据作为 BLOB 而不是 var 下一篇:将 SQL 连接到 apache nifi

                  相关文章

                  最新文章

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

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

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