FrankYang0529 commented on PR #17244: URL: https://github.com/apache/kafka/pull/17244#issuecomment-2371138413
> It sounds like the metadata request loop is the source of the problem. Can we make the necessary modifications at that point to stop the problem closer to its source? Hi @kirktrue, thanks for the review. The `MetadataRequest` is sent by [NetworkClient](https://github.com/apache/kafka/blob/34c158f67f3d583b758bd134b43737edfa3fa017/clients/src/main/java/org/apache/kafka/clients/NetworkClient.java#L1237-L1272). `NetworkClient` is used by both classic and async consumer. It may not be good to modify `NetworkClient#poll` for async consumer only. 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org