Created 11-23-2016 09:25 PM
We are looking to implement a single modular notification process group that expects various attributes (to, from, host, message, etc) on input and then uses those attributes to send out email and chat notifications. The thought is that every process group (regardless of hierarchy location) that needs to send out notifications will use this process group. It will be developed and maintained in one place to minimize scope of changes. Is this possible? So far based on my limited experience it appears that the use of process groups, input ports and output ports only works if this proposed notification process group was a child of each process group that needs to send an email? That would mean that we would have to maintain a notification process group (possibly a template) for each process group that needs to send notifications rather than just one. Is it possible to use remote process groups that actually link to this internal process group?
See sample flow hierarchy below to better understand a theoretical hierarchy and architecture...
Thanks
Created 11-23-2016 10:18 PM
One approach is to build the notification process group as a single reusable asset that is checked out from a repository and implemented in new flows at whatever hierarchy level and whatever number of times used among all flows. As such, it is change-managed and and preconfigured with properties that are dynamic and ready to go for each environment. Additionally, configurations can be modified for each instance it is used in a flow. See the following link:
Let me know if this is possibly what you are looking for; else, follow up with additional requirements/needs.
Created 11-23-2016 10:18 PM
One approach is to build the notification process group as a single reusable asset that is checked out from a repository and implemented in new flows at whatever hierarchy level and whatever number of times used among all flows. As such, it is change-managed and and preconfigured with properties that are dynamic and ready to go for each environment. Additionally, configurations can be modified for each instance it is used in a flow. See the following link:
Let me know if this is possibly what you are looking for; else, follow up with additional requirements/needs.
Created 11-23-2016 11:44 PM
Wow, great post thank you for sharing @Greg Keys. My goal is to architect things so that our development is very modular, re-usable and configuration driven. While I don't think this solves the question the way I was originally thinking it does provide a great (maybe better) solution with some added information that I was not aware of AND gets me closer to my goals. Couple questions...
I need to read through this a bit more to completely digest it and the links provided but I believe it gets us going in the right direction. Thanks much!
Created 11-24-2016 01:00 AM
Answers to questions:
Created 12-01-2016 07:36 PM
This appears to be exactly what I am looking for, though I am not sure if it is currently being worked or targeted for a certain release - https://cwiki.apache.org/confluence/display/NIFI/Reference-able+Process+Groups