lianetm opened a new pull request, #17917:
URL: https://github.com/apache/kafka/pull/17917

   Fix to check if the consumer has a pattern subscription before generating a 
background event to refresh the regex against metadata. 
   
   This happens as part of the poll loop, so avoiding the unnecessary event and 
block waiting for it (the check was performed in the background before this 
PR). 
   
   Checking hasSubscriptionPattern in the app thread should be safe because the 
subscription type only changes with api calls to subscribe/assign/unsubscribe, 
that all block until the subscription state is updated. 
   


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