You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Timothee Maret (Jira)" <ji...@apache.org> on 2019/11/14 16:05:00 UTC
[jira] [Closed] (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 ]
Timothee Maret closed SLING-8557.
---------------------------------
> 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
(v8.3.4#803005)