GitHub user dguy opened a pull request: https://github.com/apache/kafka/pull/1845
HOTFIX: throw exception if the Cluster object has not been intialized in StreamMetadataState During rebalance operations the Cluster object gets set to Cluster.empty(). This can result in NPEs when doing certain operation on StreamsMetadataState. This should throw a StreamsException if the Cluster is empty as it is not yet (re-)initialized You can merge this pull request into a Git repository by running: $ git pull https://github.com/dguy/kafka streams-meta-hotfix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1845.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 #1845 ---- commit add6b5e52a0b5c0b35c1a4cd6e0a5a9c395e50b7 Author: Damian Guy <damian....@gmail.com> Date: 2016-09-12T13:15:44Z throw exception if the Cluster object has not been intialized ---- --- 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. ---