我正在使用这些安装说明来获取confluent hub client https://docs.confluent.io/current/connect/managing/confluent-hub/client.html
但是,当我开始安装kafka-connect-elasticsearch连接器时
confluent-hub install confluentinc/kafka-connect-elasticsearch:latest
我继续收到此错误消息:
Unable to detect Confluent Platform installation. Specify --component-dir and --worker-configs explicitly.
Error: Invalid options or arguments我有ElasticSearch和卡夫卡都通过自制软件安装在我的苹果电脑上
发布于 2019-07-16 14:44:10
显式指定--组件目录和--工人配置
您必须传递这两个选项,以包含Kafka Connect的plugin.path设置的自制位置( Confluent Hub将安装到的位置)和您的connect-distributed.properties (以便可以设置插件路径,如果还没有设置的话)
例如:
confluent-hub install <name> \
--component-dir /opt/connectors \
--worker-configs /etc/kafka/connect-distributed.properties此命令应下载连接器压缩包并将其解压缩到/opt/connectors中,然后修改connect-distributed.properties文件以将该路径包含在其plugin.path属性中
Here is an example using a Kafka Connect docker image that I've built
发布于 2021-11-29 05:13:31
MacOS
在我的例子中,我用brew安装了Kafka和Confluent Hub,Kafka的安装路径是/usr/local/Cellar/kafka。并创建了一个目录来安装连接器。
移动到/usr/local/Caskroom/confluent-hub-client/6.2.1/bin,它是confluent-hub所在的目录。
然后我执行了confluent-hub install confluentinc/kafka-connect-azure-blob-storage:1.6.2 --component-dir /Users/Rustam_Zokirov/BigData/connectors --worker-configs /usr/local/Cellar/kafka/3.0.0/libexec/config/connect-distributed.properties
发布于 2021-02-05 16:14:36
我有相同的使用本地confluent社区版,你应该启动安装,同时在包含confluent plateform的目录中(与bin等相同级别,共享...)手动指定配置文件可能会出错。
https://stackoverflow.com/questions/56958382
复制相似问题