[
https://issues.apache.org/jira/browse/KAFKA-3819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ewen Cheslack-Postava updated KAFKA-3819:
-----------------------------------------
Issue Type: New Feature (was: Bug)
> Provide utilities for polling source connectors
> -----------------------------------------------
>
> Key: KAFKA-3819
> URL: https://issues.apache.org/jira/browse/KAFKA-3819
> Project: Kafka
> Issue Type: New Feature
> Components: KafkaConnect
> Reporter: Ewen Cheslack-Postava
> Assignee: Ewen Cheslack-Postava
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)