At present, the security-protocols of kafka mainly include the following PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL. But I checked the kafka-output documentation: Configure the Kafka output | Filebeat Reference [8.8] | Elastic, and found that there is no option for PLAINTEXT. How can I use PLAINTEXT to connect to my kafka brokers?
The error I have received so far is: kafka: couldn't fetch broker metadata (check that your client and broker are using the same encryption and authentication settings)
Thanks, it seems that there are other problems. My configuration is posted below. I can produce and consume messages with this kafka broker address and topic in python.
I solved it finnaly. We should give a correct version field. In this case, when I use 0.8.2.0, it worked well, while other versions will fail.
In fact, My kafka version is 2.2.1 if I run kafka-broker-api-versions.sh to see the kafka broker version.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.