Kafka Consumer is not throwing errors even though if i provide wrong broker details in Java Standalone

0 votes
Kafka Consumer is not throwing errors even though if i provide wrong broker details in Java Standalone

The polling is happening continuously , it should throw errors

Broker connectivity check is not happening
May 21 in Apache Kafka by Srinivas
• 120 points

edited May 21 by Srinivas 117 views

2 answers to this question.

0 votes

Hi@srinivas,

This is because the PID file is still available in your log. So try to remove your previous PID file and run again.

answered Jun 4 by MD
• 79,930 points
0 votes
Please delete all log files. Reason behind, on local system frequently new learners start many broker alternatively which is not good practice to run cluster. Always, need to map our broker cluster with different zookeeper. Practically it runs on independent system.
answered Jun 17 by Pawan
• 380 points