[
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)