You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Magesh kumar Nandakumar (JIRA)" <ji...@apache.org> on 2019/05/03 22:19:00 UTC

[jira] [Updated] (KAFKA-8320) Connect Error handling is using the RetriableException from common package

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

Magesh kumar Nandakumar updated KAFKA-8320:
-------------------------------------------
    Description: 
When a SourceConnector throws 

org.apache.kafka.connect.errors.RetriableException during the poll, connect runtime is supposed to ignore the error and retry per [https://cwiki.apache.org/confluence/display/KAFKA/KIP-298%3A+Error+Handling+in+Connect] . When the conenctors throw the execption its not handled gracefully. 

WorkerSourceTask is catching the execption from wrog package `org.apache.kafka.common.errors`.  It is not clear from the API standpoint as to which package the connect farmework supports. The safest thing would be to support both the packages eventhough its less desirable.

  was:
When a SourceConnector throws 

org.apache.kafka.connect.errors.RetriableException during the poll, connect runtime is supposed to ignore the error and retry per [https://cwiki.apache.org/confluence/display/KAFKA/KIP-298%3A+Error+Handling+in+Connect] . When the conenctors throw the execption its not handled gracefully. 

WorkerSourceTask is catching the execption from wrog package `org.apache.kafka.common.errors`. 


> Connect Error handling is using the RetriableException from common package
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-8320
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8320
>             Project: Kafka
>          Issue Type: Bug
>          Components: KafkaConnect
>    Affects Versions: 2.0.0
>            Reporter: Magesh kumar Nandakumar
>            Assignee: Magesh kumar Nandakumar
>            Priority: Major
>
> When a SourceConnector throws 
> org.apache.kafka.connect.errors.RetriableException during the poll, connect runtime is supposed to ignore the error and retry per [https://cwiki.apache.org/confluence/display/KAFKA/KIP-298%3A+Error+Handling+in+Connect] . When the conenctors throw the execption its not handled gracefully. 
> WorkerSourceTask is catching the execption from wrog package `org.apache.kafka.common.errors`.  It is not clear from the API standpoint as to which package the connect farmework supports. The safest thing would be to support both the packages eventhough its less desirable.



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