Description
Source connectors that need to poll for data are currently responsible for managing their own sleeping/backoff if they don't have any new data available. This is becoming a very common pattern. It's also easy to implement it incorrectly, e.g. by using Thread.sleep and not properly interrupting on stop().
We should probably provide some utilities, maybe just exposed via the Context object to implement this for connector developers.
Attachments
Issue Links
- is related to
-
KAFKA-5352 Support automatic restart of failed tasks
- Open