You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "chia7712 (via GitHub)" <gi...@apache.org> on 2026/03/18 16:46:53 UTC

Re: [PR] KAFKA-17397: Ensure ClassicKafkaConsumer sends leave request on close even if interrupted [kafka]

chia7712 commented on PR #21332:
URL: https://github.com/apache/kafka/pull/21332#issuecomment-4084016932

   >  a few more times to increase the chances of sending it
   
   It is still a best-effort policy, right? We could dig into improving this best-effort behavior in a separate Jira or KIP, since adding more retries/polls is a behavior change (we might even need a new config/flag for it).
   
   Going back to this flaky test, instead of verifying the broker state, we could just check if the consumer intends to send the request. For example, we could verify an internal flag, or check the log output to ensure the leave group logic was triggered.
   
   WDYT?
   
   


-- 
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-unsubscribe@kafka.apache.org

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