kirktrue commented on PR #17244: URL: https://github.com/apache/kafka/pull/17244#issuecomment-2377464662
Hi @lianetm :smile: > 2. the legacy consumer does not poll the network client in this test (no need to send leave because it's not in the group), but the async consumer does poll (background thread continuously polls the network client) Somewhere in the background code, something catches the `InvalidTopicException` and wraps it in an `ErrorEvent` and enqueues it the background event queue. Given that, is there a specific block of code that happens that we could update to skip the enqueuing to begin with? Is [this](https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/consumer/internals/NetworkClientDelegate.java#L149-L155) where the event is getting enqueued? -- 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