Christian Schneider created SLING-8557:
------------------------------------------
Summary: 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
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)