Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
While working on https://issues.apache.org/jira/browse/KAFKA-15304
close() API supplies a timeout parameter so that the consumer can have a grace period to process things before shutting down. The background thread currently doesn't do that, when close() is initiated, it will immediately close all of its dependencies.
This might not be desirable because there could be remaining tasks to be processed before closing. Maybe the correct things to do is to first stop accepting API request, second, let the runOnce() continue to run before the shutdown timer expires, then we can force closing all of its dependencies.
Attachments
Issue Links
- Blocked
-
KAFKA-16639 AsyncKafkaConsumer#close does not send heartbeat to leave group
- Resolved
- links to