Apache kafka 汇流控制中心上载连接器错误

Apache kafka 汇流控制中心上载连接器错误,apache-kafka,apache-kafka-connect,confluent-control-center,Apache Kafka,Apache Kafka Connect,Confluent Control Center,我正在使用Windows10,并使用docker容器运行confluent control center。 我正在尝试上载可在汇流集线器上找到的一个预构建连接器: 我收到以下错误:“连接器类无效。请检查连接器配置文件。” 我正在尝试上载带有以下.properties文件的连接器 name=hdfs-sink connector.class=io.confluent.connect.hdfs.HdfsSinkConnector tasks.max=1 topics=test_hdfs hdfs.

我正在使用Windows10,并使用docker容器运行confluent control center。 我正在尝试上载可在汇流集线器上找到的一个预构建连接器:

我收到以下错误:“连接器类无效。请检查连接器配置文件。”

我正在尝试上载带有以下.properties文件的连接器

name=hdfs-sink
connector.class=io.confluent.connect.hdfs.HdfsSinkConnector
tasks.max=1
topics=test_hdfs
hdfs.url=hdfs://localhost:9000
flush.size=3

无法使用该页上不可用的类上载属性文件

由于安全问题,HDFS 2接收器不再附带Confluent平台

如果您使用的是Docker,则需要将连接器安装到容器中(手动构建您自己的Connect Docker映像、使用卷装载或使用confluent hub),然后您应该可以在该页面的连接器列表中看到它