I've attached a few artifacts I'm using in an attempt to build a dockerized cluster (didn't any good examples using the official docker image). That should be enough to show all of the changes I've made to get to this point.
I can open the UI for each node and verify they're up and running. Only it says 1/1 for each of them like they have no idea they exist. I'm using an external ZooKeeper, so I have no idea why they'd all have no knowledge of each other. Any ideas? Thanks, Mike
prop_replace 'nifi.cluster.is.node' "${NIFI_IS_CLUSTER:-false}"
prop_replace 'nifi.cluster.node.protocol.port' "${NIFI_NODE_PROTOCOL_PORT:-}"
prop_replace 'nifi.zookeeper.connect.string' "${NIFI_ZK_CONNECT_STRING:-}"
docker-compose.yml
Description: Binary data
Dockerfile
Description: Binary data
<stateManagement>
<local-provider>
<id>local-provider</id>
<class>org.apache.nifi.controller.state.providers.local.WriteAheadLocalStateProvider</class>
<property name="Directory">./state/local</property>
<property name="Always Sync">false</property>
<property name="Partitions">16</property>
<property name="Checkpoint Interval">2 mins</property>
</local-provider>
<cluster-provider>
<id>zk-provider</id>
<class>org.apache.nifi.controller.state.providers.zookeeper.ZooKeeperStateProvider</class>
<property name="Connect String">zookeeper:2181</property>
<property name="Root Node">/nifi</property>
<property name="Session Timeout">10 seconds</property>
<property name="Access Control">Open</property>
</cluster-provider>
</stateManagement>
