Reputation: 31
I have creates Kafka Consumer code using Kafka Streams API and I'm able to fetch the records from Kafka Topic successfully and able to process those.
I'm seeing below error in the application logs that is showing as "Node -2 disconnected", but still there is no impact and kafka streams API is fetching transactions successfully from kafka topic.
org.apache.kafka.clients.NetworkClient : [AdminClient clientId=consumer-5322b972-1ef9-4976-b7fa-39a934374757-admin] Node -2 disconnected.
Can someone let me know what this error means and is there any way we can avoid these errors. I created Kafka Consumer code using Spring cloud Streams and Kafka Streams
Upvotes: 3
Views: 14511
Reputation: 191884
It simply means your client disconnected from a broker. Could happen for many reasons, such as a temporary network blip.
If you have more than one replica of your data that's in sync, then the consumer will continue to work
Upvotes: 1