Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

NiFi flow file expiry

avatar
Explorer

Hi,

 

Is there any way to set the flow file expiry time globally for all templates in a NiFi instance instead of going to each & every template and set the expiry time manually on the connections.

 

Thanks & Regards,
R.Rohit 

 

1 REPLY 1

avatar

I am not aware of any bulk update capability through the UI. At a glance I did not see this option yet via the API, so the following may be a reasonable workaround (disclaimer: I did not try something like this myself):

 

1. Export the process group in which you want to update all the queues (perhaps manually update 1 connection to see what it looks like)

2. Write a script to update all the connections in the template

 

This would still involve manual steps, but if you have a few groups with 100 queues it could save a lot of time. Also, don't hesitate to share if this indeed worked out.


- Dennis Jaheruddin

If this answer helped, please mark it as 'solved' and/or if it is valuable for future readers please apply 'kudos'.