问题描述
我已经从 https://www下载了插件文件. confluent.io/connector/kafka-connect-cdc-microsoft-sql/,
它具有三个文件夹lib,例如doc,manifest.json.等具有connect-avro-docker.properties,mssqlsource.properties,repro.properties.我可以将CONNECT_PLUGIN_PATH添加到lib中,但是这些配置文件呢?
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?
在 https://docs.confluent.io/current/connect/userguide中. html 页上,他们没有明确说明将这些文件复制到何处.
In https://docs.confluent.io/current/connect/userguide.html page they did not give clear instructions on where to copy these files.
如何为合流复制或配置kafka connect插件文件?任何方向都值得赞赏.
How to copy or configure kafka connect plugin files for confluent? Any direction is appreciated.
我只安装了kafka-connect,schema-registry,kafka-broker,zookeeper.我没有找到在Windows上安装集线器的方法.
I installed only kafka-connect, schema-registry, kafka-broker, zookeeper. I didn't find a way to install hub on windows.
推荐答案
您需要将Connect属性中的plugin.path
行指向提取的lib
文件夹(JAR所在的父文件夹)的绝对路径.
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.
您还可以使用confluent-hub
工具,这应该为您做好一切准备.
You can also use confluent-hub
tool, which should set this all up for you.
这篇关于如何复制或配置kafka connect插件文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!