GitHub user chtyim opened a pull request: https://github.com/apache/twill/pull/67
(TWILL-61) Fix to allow higher attempts to relaunch the app after the first attempt failed - Delete the Kafka root zk node for the application if already exist - Delete the AM instance zk node if already exist - For runnables parent zk node, it is not an error if it already exist - Enhance KafkaClient publisher / consumer to deal with Kafka cluster changes - When AM killed and restarted, the embedded Kafka will be running in different host and port You can merge this pull request into a Git repository by running: $ git pull https://github.com/chtyim/twill feature/TWILL-61 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/twill/pull/67.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 #67 ---- commit 9decca071a9e067b30be2150a6097463c939b6af Author: Terence Yim <chtyim@...> Date: 2018-03-09T20:21:26Z (TWILL-61) Fix to allow higher attempts to relaunch the app after the first attempt failed - Delete the Kafka root zk node for the application if already exist - Delete the AM instance zk node if already exist - For runnables parent zk node, it is not an error if it already exist - Enhance KafkaClient publisher / consumer to deal with Kafka cluster changes - When AM killed and restarted, the embedded Kafka will be running in different host and port ---- ---