<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How can I run kafka connect to import data from mysql to kafka? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-run-kafka-connect-to-import-data-from-mysql-to/m-p/228932#M82433</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/83540/s09021995.html" nodeid="83540"&gt;@Shobhna Dhami&lt;/A&gt; After "available connectors" it does not list it, so you have not setup the classpath correctly, as I linked to. &lt;/P&gt;&lt;P&gt;In Kafka 0.10, you need to run &lt;/P&gt;&lt;PRE&gt;$ export CLASSPATH=/path/to/extracted-debezium-folder/*.jar # Replace with the real address
$ connect-distributed ...  # Start Connect Server&lt;/PRE&gt;&lt;P&gt;You can also perform a request to the /connector-plugins URL address before sending any configuration to verify the Debezium connector was correctly installed. &lt;/P&gt;</description>
    <pubDate>Wed, 22 Aug 2018 02:53:16 GMT</pubDate>
    <dc:creator>JordanMoore</dc:creator>
    <dc:date>2018-08-22T02:53:16Z</dc:date>
    <item>
      <title>How can I run kafka connect to import data from mysql to kafka?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-run-kafka-connect-to-import-data-from-mysql-to/m-p/228929#M82430</link>
      <description>&lt;P&gt;I am new to kafka and i am trying to use get data from mysql to kafka broker using debezium mysql connector?I am not able to understand how to run kafka connect in distributed mode to use debezium mysql connector.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 00:02:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-run-kafka-connect-to-import-data-from-mysql-to/m-p/228929#M82430</guid>
      <dc:creator>s09021995</dc:creator>
      <dc:date>2018-08-21T00:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I run kafka connect to import data from mysql to kafka?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-run-kafka-connect-to-import-data-from-mysql-to/m-p/228930#M82431</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/83540/s09021995.html" nodeid="83540"&gt;@Shobhna Dhami&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Somewhere under /usr/hdp/current/kafka there is a &lt;STRONG&gt;connect-distributed&lt;/STRONG&gt; script. &lt;/P&gt;&lt;P&gt;You run this and provide a &lt;STRONG&gt;connect-distributed.properties&lt;/STRONG&gt; file. &lt;/P&gt;&lt;P&gt;Assuming you are running a recent Kafka version (above 0.11.0), In the properties file, you would add a line that includes "&lt;STRONG&gt;plugin.path&lt;/STRONG&gt;" that points to a directory containing the extracted package of the debezium connector. &lt;/P&gt;&lt;P&gt;As mentioned in the Debezium documentation&lt;/P&gt;&lt;P&gt;Simply download the &lt;A href="https://repo1.maven.org/maven2/io/debezium/debezium-connector-mysql/"&gt;connector’s plugin archive&lt;/A&gt;, extract the JARs into your Kafka Connect environment, and add the directory with the JARs to &lt;A href="https://docs.confluent.io/current/connect/userguide.html#installing-plugins"&gt;Kafka Connect’s classpath&lt;/A&gt;. Restart your Kafka Connect process to pick up the new JARs.&lt;/P&gt;&lt;P&gt;Kafka Documentation - &lt;A href="http://kafka.apache.org/documentation/#connect" target="_blank"&gt;http://kafka.apache.org/documentation/#connect&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Confluent Documentation - &lt;A href="https://docs.confluent.io/current/connect/index.html" target="_blank"&gt;https://docs.confluent.io/current/connect/index.html&lt;/A&gt; (note: Confluent is not a "custom version" of Kafka, they just provide a stronger ecosystem around it)&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 04:39:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-run-kafka-connect-to-import-data-from-mysql-to/m-p/228930#M82431</guid>
      <dc:creator>JordanMoore</dc:creator>
      <dc:date>2018-08-21T04:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I run kafka connect to import data from mysql to kafka?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-run-kafka-connect-to-import-data-from-mysql-to/m-p/228931#M82432</link>
      <description>&lt;P style="margin-left: 40px;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/29170/moorej.html" nodeid="29170"&gt;@Jordan Moore&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Thanks for the quick reply.&lt;BR /&gt;However, I am currently using Kafka version 0.10.0.2.5 , how can I give Debezium mysql connector path. &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;I am getting error:&lt;/P&gt;&lt;PRE&gt;ERROR Uncaught exception in herder work thread, exiting:  (org.apache.kafka.connect.runtime.distributed.DistributedHerder:183)
org.apache.kafka.connect.errors.ConnectException: Failed to find any class that implements Connector andwhich name matches io.debezium.connector.mysql.MySqlConnector available connectors are: org.apache.kafka.connect.sink.SinkConnector, 
org.apache.kafka.connect.tools.VerifiableSourceConnector,
org.apache.kafka.connect.file.FileStreamSinkConnector, 
org.apache.kafka.connect.file.FileStreamSourceConnector, 
org.apache.kafka.connect.source.SourceConnector, 
org.apache.kafka.connect.tools.VerifiableSinkConnector,
org.apache.kafka.connect.tools.MockSourceConnector, 
org.apache.kafka.connect.tools.MockConnector, 
org.apache.kafka.connect.tools.MockSinkConnector


&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Aug 2018 18:35:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-run-kafka-connect-to-import-data-from-mysql-to/m-p/228931#M82432</guid>
      <dc:creator>s09021995</dc:creator>
      <dc:date>2018-08-21T18:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I run kafka connect to import data from mysql to kafka?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-run-kafka-connect-to-import-data-from-mysql-to/m-p/228932#M82433</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/83540/s09021995.html" nodeid="83540"&gt;@Shobhna Dhami&lt;/A&gt; After "available connectors" it does not list it, so you have not setup the classpath correctly, as I linked to. &lt;/P&gt;&lt;P&gt;In Kafka 0.10, you need to run &lt;/P&gt;&lt;PRE&gt;$ export CLASSPATH=/path/to/extracted-debezium-folder/*.jar # Replace with the real address
$ connect-distributed ...  # Start Connect Server&lt;/PRE&gt;&lt;P&gt;You can also perform a request to the /connector-plugins URL address before sending any configuration to verify the Debezium connector was correctly installed. &lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 02:53:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-run-kafka-connect-to-import-data-from-mysql-to/m-p/228932#M82433</guid>
      <dc:creator>JordanMoore</dc:creator>
      <dc:date>2018-08-22T02:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I run kafka connect to import data from mysql to kafka?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-run-kafka-connect-to-import-data-from-mysql-to/m-p/228933#M82434</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/29170/moorej.html" nodeid="29170"&gt;@Jordan Moore&lt;/A&gt; Thanks for the help. &lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 17:12:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-run-kafka-connect-to-import-data-from-mysql-to/m-p/228933#M82434</guid>
      <dc:creator>s09021995</dc:creator>
      <dc:date>2018-08-24T17:12:03Z</dc:date>
    </item>
  </channel>
</rss>

