Hello all.
Just simple question, is there a way to access, from controller service, to
the instance name / id event in not cluster implementation?
Regards
Etienne Jouvin
Etienne,
What instance name / id are you referring to?
On Tue, Feb 13, 2024 at 8:43 AM Etienne Jouvin
wrote:
> Hello all.
>
> Just simple question, is there a way to access, from controller service,
> to the instance name / id event in not cluster implementation?
>
> Regards
>
> Etienne Jouvin
Hello.
Imagine, I use UpdateAttributes to set an attribute where I put the NiFi
instance id or name.
This attribute may be used after, for example when I use PutRecord and if I
want to add information regarding the NiFi node that do the work.
In cluster mode, you can have a node identifier in the
Do the expression language functions ip() and hostname() give you what you need?
Steve Hindmarch
From: Etienne Jouvin
Sent: Wednesday, February 14, 2024 10:41 AM
To: users@nifi.apache.org
Subject: Re: Access instance name
You don't often get email from
lapinoujou...@gmai
Etienne.
Is this what you're looking for?
https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#hostname
Thanks,
Phil
On Wed, Feb 14, 2024 at 5:41 AM Etienne Jouvin
wrote:
> Hello.
>
> Imagine, I use UpdateAttributes to set an attribute where I put the NiFi
> instance id