Abhishek Jain
Abhishek Jain

Reputation: 6376

Detection of flow file lag in Apache Nifi

We are using Apache Nifi for our data ingestion purpose from database. We have seen that the flow file started accumulating prior to certain processor due to slow consumption of processor or any other bug.

How can we detect this in realtime via alert/notification if flow file count exceeded (or flow file lag) to certain threshold? Please suggest

Upvotes: 0

Views: 141

Answers (1)

daggett
daggett

Reputation: 28634

to monitor alerts through api use following endpoint:

/nifi-api/flow/bulletin-board?limit=10

the api description you can find here: https://nifi.apache.org/docs/nifi-docs/rest-api/index.html


if you need something else to monitor:

  • just find where you see it in nifi UI
  • open devtools in browser and trace the api cals in network tab

for example "Nifi Bulletin Board" calling following api to get alerts:

enter image description here

Upvotes: 0

Related Questions