Russole opened a new pull request, #23440:
URL: https://github.com/apache/kafka/pull/23440
This PR fixes a race in `testShareConsumerAfterCoordinatorMovement` where an
empty poll could stop the consumer before all produced records were consumed.
It separates the producer stop request from actual completion, waits for all
produced keys, and ensures asynchronous tasks finish before cleanup.
## Test
```bash
./gradlew clients:clients-integration-tests:test \
--tests
org.apache.kafka.clients.consumer.ShareConsumerTest.testShareConsumerAfterCoordinatorMovement
\
-Pkafka.cluster.test.repeat=5 \
--rerun-tasks
--
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]