goalfull commented on PR #6619:
URL: https://github.com/apache/kafka/pull/6619#issuecomment-2165655400

   > The leastLoadedNode() function has a bug during the consumer process 
starting period. The function sendMetadataRequest() called by 
getTopicMetadataRequest() uses a random node which maybe faulty since every 
node‘s state recorded in the client thread is not ready yet. It happened in my 
production environment during my consumer thread restarting and meanwhile one 
of the KAFKA server node is dead. @hachikuji What do you think?
   
   I'm using the kafka-client-2.0.1.jar. I have checked the source code of 
higher versions and the issue still exists.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to