Hi Milan, The idea would be the following: - disconnect the node from the cluster - go on the ui of the disconnected node and stop the "input" processors where the data is ingested/received and wait for the all data being on the node to be processed (this can be scripted). Since the node is disconnected, changing the state of a processor won't affect the other nodes. - then go back on the ui of one of the cluster nodes, and delete the disconnected node from the cluster - you can now stop the disconnected NiFi and decommission the node
All of this can be scripted using the REST APIs. Pierre 2018-05-15 22:03 GMT+02:00 Milan Das <[email protected]>: > Hi All, > > I have 5 node NIFI cluster running in a client environment. We have > decided to keep the running with 4 NIFI cluster node by taking one down. > > NIFI is using embedded zookeeper. > > Question is: How can we take one of the NIFI out from the cluster. I can > simply remove and stop it but I want to make sure all in flight > transactions are processed or not lost (Should be processed by other > cluster member). > > > > Is the correct process to use “remove” using node manager? Does the > process going to maintain all in-flight transactions ? > > > > Thanks, > > > > [image: ograph] > > *Milan Das* > Sr. System Architect > > email: [email protected] > mobile: +1 678 216 5660 > > [image: edIn icon] <https://www.linkedin.com/in/milandas/> > > www.interset.com > > > > >
