Integration / Apache NiFi Interview Questions
What is a Connection in NiFi and how does back-pressure work?
A Connection in NiFi is a directed, persistent queue that links the output of one processor to the input of another. FlowFiles physically queue here when the downstream processor cannot keep up. Each connection carries one or more relationships from the upstream processor (e.g., success, failure). All processor relationships must be either connected or auto-terminated before the processor can start.
Back-pressure is configured on each connection with two independent thresholds:
Back Pressure Object Threshold: Maximum FlowFile count in the queue. When reached, the upstream processor stops being scheduled. Default is 10,000.
Back Pressure Data Size Threshold: Maximum total byte size of queued content. When exceeded, the upstream processor also pauses. Default is 1 GB.
Setting both to 0 disables back-pressure, allowing the queue to grow unbounded — use cautiously. Connections also support prioritizers controlling dequeue order: First In First Out (default), Newest First, Oldest First, or by size.
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...
