Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.6.0
-
None
-
None
Description
The WorkerSourceTask cancel() method closes the Producer, releasing it's resources. The WorkerSInkTask does not do the same for the Consumer, as it does not override the cancel() method.
WorkerSinkTask should close the consumer if the task is cancelled, as progress for a cancelled task will be discarded anyway.
Attachments
Issue Links
- Discovered while testing
-
KAFKA-15845 Add Junit5 test extension which detects leaked Kafka clients and servers
- In Progress
- links to