mirror of https://github.com/apache/kafka.git
Fixing flakiness seen on this test, where static consumers could not join as expected after shutting down previous consumers with the same instance ID, and logs showed `UnreleasedInstanceIdException`. I expect the flakiness could happen if a consumer with instanceId1 is closed but not effectively removed from the group due to leave group fail/delayed (the leave group request is sent on a best effort, not retried if fails or times out). Fix by adding check to ensure the group is empty before attempting to reuse the instance ID Reviewers: Matthias J. Sax <matthias@confluent.io> |
||
---|---|---|
.. | ||
benchmarks | ||
directory_layout | ||
sanity_checks | ||
services | ||
tests | ||
utils | ||
__init__.py | ||
version.py |