What is the major difference between ListenHTTP vs HandleHTTPRequest Processor in Apache Nifi? When will use ListenHTTP and when will use HandleHTTPRequest?
What is the major difference between ListenHTTP vs HandleHTTPRequest Processor in Apache Nifi? When will use ListenHTTP and when will use HandleHTTPRequest?
You can use ListenHTTP alone when you are processing a stream that does not need to send answer to the caller. Rather, you will use HandleHTTPRequest in conjunction with HandleHTTPResponse to act as a web service (meaning reading a request and sending a response back). In summary : - Response needed => HandleHTTPRequest/HandleHTTPResponse - No response => ListenHTTP