Thanks, Bryan and Pierre that helps.

On Thu, Mar 1, 2018 at 4:07 PM, Pierre Villard <pierre.villard...@gmail.com>
wrote:

> Hi,
>
> There is the following JIRA: https://issues.apache.org/
> jira/browse/NIFI-1598
>
> Pierre
>
> 2018-03-01 15:53 GMT+01:00 Bryan Bende <bbe...@gmail.com>:
>
>> Hello,
>>
>> There is a hostname() function in EL, but there is not one
>> specifically for the primary node.
>>
>> I think this has come up before and probably makes sense, it just
>> hasn't been implemented yet.
>>
>> -Bryan
>>
>>
>> On Thu, Mar 1, 2018 at 9:28 AM, ashmeet kandhari
>> <ashmeetkandhar...@gmail.com> wrote:
>> > Hi all,
>> >
>> > Is there a way in nifi flows to get the primary node hostname or ip in
>> > variable form eg: ${primary_node_hostname}.
>> >
>> > UseCase: ListenHTTP processor running on the primary node, then I want
>> to
>> > set the URL dynamically like http://${primary_node_hostname}/endPoint.
>> >
>> >
>> > Thanks,
>> > Ashmeet Kandhari
>>
>
>

Reply via email to