Integration / Apache NiFi Interview Questions
What is NiFi Site-to-Site (S2S) and when do you use it?
NiFi Site-to-Site (S2S) is a native protocol for transferring FlowFiles directly between NiFi instances — between two standalone NiFi servers, between nodes in a cluster, or between NiFi and MiNiFi agents. It operates over HTTP/HTTPS or raw TCP sockets and provides end-to-end guaranteed delivery, optional compression, and mutual TLS authentication.
S2S works through Remote Process Groups (RPGs) on the sending side. An RPG is configured with the URL of the remote NiFi instance. The sending NiFi queries the remote instance for available Input Ports, then routes FlowFiles to the chosen Input Port.
Key features of S2S:
Automatic load balancing: When the remote NiFi is a cluster, the RPG automatically distributes FlowFiles across all healthy cluster nodes using peer selection.
Back-pressure propagation: If the remote Input Port queue is full, the sender is notified and slows down — extending NiFi's back-pressure model across instance boundaries.
Compression: Optional GZIP compression reduces bandwidth between instances.
Common use cases: MiNiFi agents on edge devices pushing data to a central NiFi hub; cross-datacenter data transfer pipelines; routing data from an ingestion NiFi tier to a processing NiFi tier.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
