markap14 commented on PR #6779: URL: https://github.com/apache/nifi/pull/6779#issuecomment-1353716799
Great, thanks @exceptionfactory! I also would recommend a couple minor changes to make this work more easily with Docker, as I had to make these changes to test: In the `nifi-docker/dockerhub/sh/start.sh` file I added two lines: ``` # Set leader election and state management properties prop_replace 'nifi.cluster.leader.election.implementation' "${NIFI_LEADER_ELECTION_IMPLEMENTATION:-CuratorLeaderElectionManager}" prop_replace 'nifi.state.management.provider.cluster' "${NIFI_STATE_MANAGEMENT_CLUSTER_PROVIDER:-zk-provider}" ``` And also in the `nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/state-management.xml` file there's no need to add the `<cluster-provider>` element commented out. It's just configuration, it doesn't get used for anything unless it's selected in `nifi.properties` so we should just include the config uncommented in `state-management.xml` so that it can be easily referenced from nifi.properties -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org