I have set up a ListenHTTP processor. Quite straightforward.
The issue is that the "exposed" URL includes the hostname (which in our case is not a publicly available web address). Would it be the chance to override the "hostname" in the processor with the IP address of the VM?
THX in advance.
ListenHTTP is a legacy processor. Instead, take a look at https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.HandleHttpRequ... . Make sure to read through Additional Details section to see how to build a complete request/response loop.
ListenHTTP probably should not be looked at as a legacy processor. It is good for the narrow scope it was built for which also happens to be a common case. For example when paired with PostHTTP it works great.
Hello. Can you show an example configuration that you have and describe further what you mean by exposed URL further. Perhaps a log entry or screenshot to illustrate what you're seeing would help us provide more specific advice.
I have set up a minimum cluster with two NIFI instances. I have instanced a ListenHTTP processor and configured it to listen on port 29999. I have opened port 29999 on both the VMs where the NIFI instances are running on.
Now it works but I can only call the cluster node web server set up by the processor.
http://(master-node-ip):29999/contentListener is not listening
http://(cluster-node-ip):29999/contentListener is listening
Hope I have clarified.
Not sure it answers your question but you can specify that a processor must run on the primary node.