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, 2020 in Apache Kafka by Srinivas
• 120 points

edited May 22, 2020 by Srinivas 561 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 5, 2020 by MD
• 95,440 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 18, 2020 by Pawan
• 380 points
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP