Phuc-Hong-Tran commented on PR #15585:
URL: https://github.com/apache/kafka/pull/15585#issuecomment-2021526537

   @kirktrue, regarding 
https://github.com/apache/kafka/pull/15585#discussion_r1539447102, there is a 
race condition bug where the metadata is not updated but the heartbeat request 
is already created, but it lacks required info, in this case the list of 
topic(s) that user want to subscribe to. I created the `while` loop there so 
that only when we received the newly updated metadata, then we will proceed to 
create a hearbeat request


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to