如何复制或配置 kafka 连接插件文件? [英] How to copy or configure kafka connect plugin files?

查看:29
本文介绍了如何复制或配置 kafka 连接插件文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从 https://www 下载了插件文件.confluent.io/connector/kafka-connect-cdc-microsoft-sql/,

它有三个文件夹lib,etc,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.

如何为confluent复制或配置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 连接插件文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆