[ 
https://issues.apache.org/jira/browse/NIFI-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15185100#comment-15185100
 ] 

Ricky Saltzer commented on NIFI-1598:
-------------------------------------

[~joewitt] - do you know of any way to do this without accessing the web API? 
I've made a crude version, but it requires using the NiFi web API. I'm not a 
fan of using the web API since it requires you to make assumptions on which 
port the web API port the master is listening on. 

Thanks!

> Add expression to determine if running on primary node
> ------------------------------------------------------
>
>                 Key: NIFI-1598
>                 URL: https://issues.apache.org/jira/browse/NIFI-1598
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Ricky Saltzer
>            Assignee: Ricky Saltzer
>            Priority: Minor
>
> Something along the lines of {{isPrimaryNode()}} which would produce a 
> {{boolean}}. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to