2

I have downloaded plugin files from https://www.confluent.io/connector/kafka-connect-cdc-microsoft-sql/,

It has three folders lib, etc, doc, manifest.json. etc has connect-avro-docker.properties, mssqlsource.properties, repro.properties. I can add CONNECT_PLUGIN_PATH to lib, but what about these config files?

In https://docs.confluent.io/current/connect/userguide.html page they did not give clear instructions on where to copy these files.

How to copy or configure kafka connect plugin files for confluent? Any direction is appreciated.

I installed only kafka-connect, schema-registry, kafka-broker, zookeeper. I didn't find a way to install hub on windows.

Ram
  • 21
  • 4

1 Answers1

0

The instructions are here

You need to point plugin.path line in the Connect properties to the absoulte path of the extracted lib folder - the parent folder of where the JARs are located.

You can also use confluent-hub tool, which should set this all up for you.

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
  • I installed only kafka-connect, schema-registry, kafka-broker, zookeeper. I didn't find a way to install hub on windows I can add CONNECT_PLUGIN_PATH to lib, but what about these config files connect-avro-docker.properties, mssqlsource.properties, repro.properties? – Ram Jan 10 '19 at 22:52
  • I don't know what these files are, and they are not needed to get the Connector libraries available for Connect to use. You will only need one configuration to start the actual connector – OneCricketeer Jan 10 '19 at 23:53
  • You can install Confluent Hub Client from - https://docs.confluent.io/current/connect/managing/confluent-hub/client.html – OneCricketeer Jan 10 '19 at 23:54
  • they only have mac and Linux at https://docs.confluent.io/current/connect/managing/confluent-hub/client.html – Ram Jan 11 '19 at 00:23
  • Well, those are the supported OS's https://docs.confluent.io/current/installation/versions-interoperability.html#operating-systems – OneCricketeer Jan 11 '19 at 00:24
  • I think I figured it out, will post the solution once I implement it. – Ram Jan 11 '19 at 00:34
  • If you're running Kafka Connect on Windows because that's where your database runs, then I would recommend running Connect on a separate Linux machine where you can dedicate resources to it – OneCricketeer Jan 11 '19 at 01:14