I want to be made aware of when the overall queue size in NiFi exceeds a certain value. I have tried to use the NiFi toolkit, but I've been unable to find anything in there that represents the total queue size.
I have been attempting this, which should allow me to access the connections in a group of processes in NiFi through the API. However, I cannot connect successfully to the API from NiFi.
I get the following error in NiFi when trying to connect to the API without credentials.
Unknown user with identity 'anonymous'. Contact the system administrator.
I believe I'll be able to view the queue size through the REST API, however in order to do this I'll need to authenticate using OAuth and Keycloak, and I'm not sure if this is possible since 2FA is required.
Any assistance in this issue would be much appreciated.