Why to Use Multiple Input and Output Ports in Apache NiFi Process Groups: Architectural Best Practices
Greetings,
I am not sure if I understand why you would create multiple input and output ports for a process group (PG). What purpose would the additional ports serve ?
I am thinking that if you want to "call" (or send/receive data to/from) the same PG from many different processors in NiFi, then you would use different ports for each processor, to avoid mixing data the PG is getting from the different processors. As an example (please see the image below) if the PG has a MergeContent processor, then I would not want to merge flow files that are coming from different Processors into the PG. Is that one (if any) of the reason for having multiple ports in a PG ?


