You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2019/07/04 15:37:00 UTC

[jira] [Resolved] (SLING-8557) KafkaMessagePoller does not recover in case of exceptions

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

Christian Schneider resolved SLING-8557.
----------------------------------------
    Resolution: Fixed

> KafkaMessagePoller does not recover in case of exceptions
> ---------------------------------------------------------
>
>                 Key: SLING-8557
>                 URL: https://issues.apache.org/jira/browse/SLING-8557
>             Project: Sling
>          Issue Type: Bug
>          Components: Content Distribution
>    Affects Versions: Content Distribution Journal Kafka 0.1.2
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>            Priority: Major
>             Fix For: Content Distribution Journal Kafka 0.1.4
>
>
> Currently  the KafkaMessagePoller simply shuts down on any exception while talking to Kafka. 
> This leads to the system being in a non working state.
> I propose we move the error handling inside the while (running) loop. 
> The javadoc of KafkaConsumer say: "This client transparently handles the failure of Kafka brokers". 
> So I would expect that we can simply log exceptions and KafkaConsumer handles the reconnect.



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