-
Notifications
You must be signed in to change notification settings - Fork 14.3k
KAFKA-18031: Flaky PlaintextConsumerTest testCloseLeavesGroupOnInterrupt #19105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@lianetm Please take a look when you are available, thanks. |
why does it exceed the |
Base on log, following requests are sent only:
If I didn't miss anything, I did not see other integration test related |
@TaiJuWu thanks for your sharing. Do you know why consumer sends join-group and sync-group request before receiving response of FindCoordinatorRequestData? for another, is it flaky on classic consumer only? |
@chia7712 Thanks for your feedback, I found there is response for I am not sure why the number of requests is always 5 on my local if the test fail.
From Develocity, it happened on classic only. |
A label of 'needs-attention' was automatically added to this PR in order to raise the |
Jira: https://issues.apache.org/jira/browse/KAFKA-18031
This test expose an issue:
If the request number exceeds
maxInFlightRequestsPerConnection
, theLeaveGroup
request would be not sent in time when closing.This behavior can be observed in the log (I have attach it in Jira), search
kkk
you can see only five request on log andLeaveGroup
is not included .I do follow change:
LeaveGroup
request to send even if theInFlightRequest
meet the max number.MaybeThrowInterrupt
to the end ofConsumerNetwork.poll
adminClient.describeConsumerGroups
).