Throttling In Apache NIFI
So the use case that I want to implement is some requests will be landing on my NIFI in XML format and then I want to control its rate and then pick the necessary inputs from the XML and then differentiate based on a report number and use rate limit on the the defined report numbers and then further a rate limit on a article number which I pick from the XML and then I call an API and send the response back the initial response now the issue is I am using control rate processor to hold the requests to 5 per second but with hold flowfile config as I cannot fail the request directly but also I want to fail the queueing requests after 5 second and with a specific status code and also I want to log on which of the three control rate failed the request. Any help how this flow can be created? And also monitor how many requests landed in the server per sec how many succeeded and how many failed per second.

