Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Connection to node-1 could not be established. Kafka was encountered in debugging. How does Broker may not be available solve it?

2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains the "kafka debugging encountered Connection to node-1 could not be established. Broker may not be available how to solve", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "kafka debugging encountered Connection to node-1 could not be established. Broker may not be available how to solve" it!

Kafka error message:

WARN [Consumer clientId=consumer-1, groupId=console-consumer-950] Connection to node-1 could not be established. Broker may not be available.

This is because the PLAINTEXT in your configuration file is different from what you requested. For example, I configured listeners=PLAINTEXT://10.127.96.151:9092 in the configuration file, but I asked for. / kafka-console-consumer.sh-- bootstrap-server localhost:9092-- topic topic1-- from-beginning when I wanted to test

The correct one should be. / kafka-console-consumer.sh-- bootstrap-server 10.127.96.151 topic topic1-- from-beginning

Thank you for reading, the above is the content of "kafka debugging encountered Connection to node-1 could not be established. Broker may not be available how to solve", after the study of this article, I believe you encountered Connection to node-1 could not be established in kafka debugging. Broker may not be available has a deeper understanding of how to solve this problem, and the specific use still needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report