Integration / Apache NiFi Interview Questions
What is a Process Group in NiFi and why is it used?
A Process Group is a named container that groups processors, connections, funnels, and other components into a single unit on the NiFi canvas. It appears as a rectangle; double-clicking opens it to reveal its internals. Process Groups can be nested, enabling hierarchical flow organization.
Organization: Large flows with hundreds of processors become unmanageable on a flat canvas. Grouping related processors into named groups makes the top-level view a clean architectural diagram.
Reuse: A Process Group can be saved as a versioned flow in NiFi Registry and instantiated multiple times for different environments or data sources.
Access control: NiFi policy-based access control applies at the Process Group level. Different teams can be granted operate, view, or modify rights to specific groups without affecting others.
Input and Output Ports: Data enters and exits through explicitly defined Input Ports and Output Ports — the only official data gateways. In a NiFi cluster, Remote Process Groups (RPGs) use Input Ports of remote NiFi instances as Site-to-Site transfer targets.
More Related questions...