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

   @kirktrue, regarding comment 
https://github.com/apache/kafka/pull/15585#discussion_r1539447785, I decided to 
call `metadata.requestUpdateForNewTopics` since there is a quite delay between 
calling the function and actually get the metadata to receive newly updated 
info, and we're sending the `SubscriptionChangeEvent` right after this. Calling 
the function is to make sure get the required metadata before a heartbeat 
request is created.


-- 
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