GitHub user jaikiran opened a pull request:
https://github.com/apache/kafka/pull/111
KAFKA-2405 Don't kill the JVM on session establishment failure
As noted in the JIRA https://issues.apache.org/jira/browse/KAFKA-2405
currently the KafkaHealthCheck causes the JVM to terminate in cases where
session establishment with Zookeeper fails. I don't know if retrying (after a
while) is a better way to fix this but at least, IMO, the session establishment
failure shouldn't kill the JVM. This commit removes the `System.exit()` call.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jaikiran/kafka kafka-2405
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/111.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #111
----
commit f809162fcaf6cba9eddbc33dd4349ea453a1d8d8
Author: Jaikiran Pai <[email protected]>
Date: 2015-08-04T22:36:40Z
KAFKA-2405 Don't kill the JVM on session establishment failure
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---