kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ewen Cheslack-Postava (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-3819) Provide utilities for polling source connectors
Date Wed, 15 Jun 2016 17:30:09 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-3819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Ewen Cheslack-Postava updated KAFKA-3819:
    Priority: Minor  (was: Major)

> 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
>            Priority: Minor
> 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

View raw message