mirror of https://github.com/apache/kafka.git
Changed WorkerSinkTaskContext to only resume the consumer topic partitions when the connector/task is not in the paused state. The context tracks the set of topic partitions that are explicitly paused/resumed by the connector, and when the WorkerSinkTask resumes the tasks it currently resumes all topic partitions *except* those that are still explicitly paused in the context. Therefore, the change above should result in the desired behavior. Several debug statements were added to record when the context is called by the connector. This can be backported to older releases, since this bug goes back to 0.10 or 0.9. Author: Randall Hauch <rhauch@gmail.com> Reviewers: Ewen Cheslack-Postava <ewen@confluent.io> Closes #4716 from rhauch/kafka-6661 |
||
|---|---|---|
| .. | ||
| api | ||
| file/src | ||
| json | ||
| runtime/src | ||
| transforms/src | ||