Hi Matt 
thanks for the reply, that’s is what I was looking into it ! 

Jorge Machado
mfg 





> On 22 Feb 2018, at 13:55, Matt Gilman <matt.c.gil...@gmail.com> wrote:
> 
> Jorge,
> 
> A node must be disconnected before it can be removed. If you're looking to 
> invoke the REST endpoints, I would suggest looking at your browsers Dev Tools 
> to see the requests in action. Alternatively, you could use the 
> NodeManagerTool [1] that is bundled in the toolkit [2].
> 
> Matt
> 
> [1] 
> https://github.com/apache/nifi/blob/master/nifi-toolkit/nifi-toolkit-admin/src/main/groovy/org/apache/nifi/toolkit/admin/nodemanager/NodeManagerTool.groovy
>  
> <https://github.com/apache/nifi/blob/master/nifi-toolkit/nifi-toolkit-admin/src/main/groovy/org/apache/nifi/toolkit/admin/nodemanager/NodeManagerTool.groovy>
> [2] https://nifi.apache.org/download.html 
> <https://nifi.apache.org/download.html>.
> 
> On Thu, Feb 22, 2018 at 8:12 AM, Charlie Meyer 
> <charlie.me...@civitaslearning.com 
> <mailto:charlie.me...@civitaslearning.com>> wrote:
> On https://nifi.apache.org/docs/nifi-docs/rest-api/index.html 
> <https://nifi.apache.org/docs/nifi-docs/rest-api/index.html> take a look at 
> DELETE /controller/cluster/nodes/{id}
> 
> That might have what you need. 
> 
> -Charlie
> 
> On Feb 22, 2018 02:19, "Jorge Machado" <jom...@me.com <mailto:jom...@me.com>> 
> wrote:
> Hi guys, 
> 
> is there an api to disconnect a node from the cluster ? This would be great 
> to securely automate a rolling restart. 
> 
> 
> Jorge
> 
> 
> 
> 
> 
> 
> 

Reply via email to