Github user markap14 commented on a diff in the pull request: https://github.com/apache/nifi/pull/900#discussion_r75788681 --- Diff: nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/leader/election/LeaderElectionManager.java --- @@ -40,7 +35,8 @@ void register(String roleName, LeaderElectionStateChangeListener listener); /** - * Adds a new role for which a leader is required, providing the given value for this node as the Participant ID + * Adds a new role for which a leader is required, providing the given value for this node as the Participant ID. If the Participant ID + * is <code>null</code>, this node will never be elected leader but will passively observe changes to the leadership. --- End diff -- @JPercivall that means the node will never been elected leader... unless it later re-registers, providing a Participant ID. I.e., the node can register as an observer and later re-register as a participant.
--- 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. ---