GitHub user radai-rosenblatt opened a pull request: https://github.com/apache/kafka/pull/1930
KAFKA-4228 - make producer close on sender thread death, make consumer shutdown on failure to rebalance, and make MM die on any of the above. the JIRA issue (https://issues.apache.org/jira/browse/KAFKA-4228) details a cascade of failures that resulted in an entire mirror maker cluster stalling due to an OOM death on one mm instance. this patch makes producers and consumers close themselves on the errors encountered, and mm to shut down if anything happens to producers or consumers. Signed-off-by: radai-rosenblatt <radai.rosenbl...@gmail.com> You can merge this pull request into a Git repository by running: $ git pull https://github.com/radai-rosenblatt/kafka honorable-death Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1930.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 #1930 ---- commit efca6e8dfa65acb5fbb1bc1801fda151b08f4f81 Author: radai-rosenblatt <radai.rosenbl...@gmail.com> Date: 2016-09-29T00:16:16Z KAFKA-4228 - make producer close on sender thread death, make consumer shutdown on failure to rebalance, and make MM die on any of the above. Signed-off-by: radai-rosenblatt <radai.rosenbl...@gmail.com> ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---