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

Gunnar Morling updated KAFKA-6456:
----------------------------------
    Priority: Minor  (was: Major)

> Improve JavaDoc of SourceTask#poll() to discourage indefinite blocking
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-6456
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6456
>             Project: Kafka
>          Issue Type: Improvement
>          Components: KafkaConnect
>    Affects Versions: 1.0.0
>            Reporter: Gunnar Morling
>            Priority: Minor
>
> The docs of {{poll()}} currently say "This method should block if no data is 
> currently available". This causes the task from transitioning to PAUSED 
> state, if there's no data available for a longer period of time. I'd 
> therefore suggest to reword like this:
> {quote}
> This method should block if no data is currently available but return control 
> to Kafka Connect periodically (by returning null).
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to