sunm2n commented on PR #24181: URL: https://github.com/apache/kafka/pull/24181#issuecomment-6788387490
One thing I left unchanged and would like your opinion on. The request-level ERROR logs in `OffsetFetchRequestState.onFailure` (`UNKNOWN_MEMBER_ID`, and `STALE_MEMBER_EPOCH` without a known epoch) still fire on this path. I kept them as they are, since that handler is shared with `committed()` and the no-epoch branch also covers members that left or failed. If the broker has already removed the member but the client has not learned it from a heartbeat yet, the consumer keeps sending a new OffsetFetch while polling, and logs that ERROR each time, until the heartbeat fences the member. That was already the case for an application that kept polling after the exception; the only difference is that `poll()` no longer throws. Happy to lower the level here or in a follow-up if you prefer. -- 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]
