GitHub user slaunay opened a pull request:
https://github.com/apache/kafka/pull/1185
KAFKA-3501: Console consumer process hangs on exit
- replace `System.exit(1)` with a regular `return` in order to release the
latch blocking the shutdown hook thread from shutting down the JVM
- provide `PrintStream` to the `process` method in order to ease unit
testing
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/slaunay/kafka
bugfix/KAFKA-3501-console-consumer-hangs
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1185.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 #1185
----
commit 34248f88a78eb54d24e1e862ecba2db34b0fe917
Author: Sebastien Launay <[email protected]>
Date: 2016-04-04T21:46:50Z
KAFKA-3501: Console consumer process hangs on exit
- replace System.exit(1) with a regular return in order to release the
latch blocking the shutdown hook thread from shutting down the JVM
- provide PrintStream to the process method in order to ease unit
testing
----
---
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.
---