apache-kafka - 尝试安装 MQTT 连接器(源和接收器)时出错
问题描述
我正在尝试将 MQTT 代理与 Kafka 连接起来。我想安装一个连接器。所以我复制了这个命令:confluent-hub install confluentinc/kafka-connect-mqtt:1.4.0
来自confluent的官方网站。但我收到这些错误:
confluent-hub install confluentinc/kafka-connect-mqtt:1.4.0
Do you want to install this into /usr/share/confluent-hub-components? (yN) y
Component's license:
Confluent Software Evaluation License
https://www.confluent.io/software-evaluation-license
I agree to the software license agreement (yN) y
Downloading component Kafka Connect MQTT 1.4.0, provided by Confluent, Inc. from Confluent Hub and installing into /usr/share/confluent-hub-components
Do you want to uninstall existing version 1.4.0? (yN) y
Detected Worker's configs:
1. Standard: /etc/kafka/connect-distributed.properties
2. Standard: /etc/kafka/connect-standalone.properties
3. Standard: /etc/schema-registry/connect-avro-distributed.properties
4. Standard: /etc/schema-registry/connect-avro-standalone.properties
5. Used by Connect process with PID : /tmp/confluent.B3k50ol5/connect/connect.properties
Do you want to update all detected configs? (yN) y
Adding installation directory to plugin path in the following files:
/etc/kafka/connect-distributed.properties
Unable to update Worker's configuration file /etc/kafka/connect-distributed.properties
Unable to save to file /etc/kafka/connect-distributed.properties
Error: Unknown error
我已经尝试过使用 ubuntu 18.04 lts 和 ubuntu 20.04 lts,但仍然遇到相同的错误。请告诉我这里出了什么问题,我该如何安装这个连接器?
解决方案
推荐阅读
- sequelize.js - Sequelize:跨 2 个或更多表关系的 OR 查询
- http - 如何在 elm 中使用“表单”配置 http 请求
- android - Kotlin:元素未添加到列表中
- css - Jupyter Notebooks 的 custom.css 文件中所需的表示形式是什么?(例如:厘米标签)
- python - 在映射系列内的字典以标记分类值时,将输出系列全部设为空
- python - Scrapy - SQLite 中未创建 SQLalchemy 外键
- html - 为什么我的引导下拉菜单占据了网站的整个宽度,即使它很小
- flutter - 关于flutter nameRoute的解释
- python - 使用 Python 按时间顺序迭代多个 CSV
- java - 对于两个给定的正数 a 和 b。找到一个提高到b。输出你的数字模数 10^9+7