Bala,

Let me add to the below in saying that in the current implementation of
custom properties, variables are bound at startup. So if the custom
property file is changed then nifi would need to be restarted. However
there are jiras and discussion around improving this in the future.

Yolanda

On Thu, Nov 17, 2016 at 10:42 AM, Yolanda Davis <yolanda.m.da...@gmail.com>
wrote:

> Hello Bala,
>
> If you are using a processor that supports expression language for the IP
> address property you can configure NiFi to use a variable within a custom
> property file that you define.  Once that is set you can refer to the
> custom variable in the IP field instead of the raw IP value.  For more
> information on how to set that up here is a link to the admin guide:
>
> https://nifi.apache.org/docs/nifi-docs/html/administration-
> guide.html#custom_properties
>
> I hope this is helpful.  Please let me know if you have any questions.
>
> Thanks,
>
> Yolanda
>
> On Thu, Nov 17, 2016 at 7:21 AM, balacode63 <balamurugan.c...@gmail.com>
> wrote:
>
>> Hi all,
>>
>> My use case is,
>>
>> 1)Process group A is having 10 processors which uses same ip address
>> ex(192.168.1.1) for some processing. ex http post
>> 2) if this ip address is changed, i need to update all the processors.
>> 3) is there any way i can handle this in a configuration file in nifi?
>>     ex: this configuration data will be used across different processors
>>
>> Please guide me
>> Thanks,
>> Bala
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://apache-nifi-developer-l
>> ist.39713.n7.nabble.com/nifi-configuration-file-for-process-
>> group-tp13908.html
>> Sent from the Apache NiFi Developer List mailing list archive at
>> Nabble.com.
>>
>
>
>
> --
> --
> yolanda.m.da...@gmail.com
> @YolandaMDavis
>
>


-- 
--
yolanda.m.da...@gmail.com
@YolandaMDavis

Reply via email to