Created 03-08-2022 12:27 AM
NiFi listener processor not responding though UI is up.
The CPU, threads, Memory all are getting used almost nothing.
No OOM also Can someone please give some pointers what can be done so the http listener processor keeps running
Created 03-08-2022 02:40 AM
Hi, @chitrarthasur ,
How are you testing the connection to the listener processor and what are the results of this test?
Cheers,
André
--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created on 03-29-2022 09:30 PM - edited 03-29-2022 09:33 PM
@araujo
This is whats happening. So telnet is working fine but the curl is not working. The request does not hit the listener.
However, after nifi restart it works, i.e it hits the listener. So path rules are also correct.
Created 03-30-2022 03:58 AM
The processor that you're using is not the ListenHTTP processor, but the HandleHttpRequest, correct?
When you use HandleHttpRequest, you must always connect that processor to a HandleHttpResponse processor so that NiFi can send a response back to the client. With this you can ingest the content of the request, process it in NiFi and send a response according to the results of your processing.
If your only requirement is to ingest the content of the HTTP request, you should use a ListenHTTP instead.
Cheers,
André