0
votes

I have a Nifi cluster on one server and miNifi on another server.

I have to open port on both sides to allow communication (HTTP).

On the Nifi cluster, I opened 8443 as it the https port where the UI is running.

On the miNifi, I do not know which ports I need to open, it seems to me that a random port is picked-up at the start of miNifi instance. If I am right, is there a way to set this port? Else how can I proceed?

Thank you for your help!

1

1 Answers

0
votes

@Pdeuxa The MiNiFi flow should route to a named Input Port via a Remote Process Group at the bottom of the MiniFi Flow. You are not actually setting an input port number. In older versions of NiFi, that input port will need to be on the main canvas. In newer version it can be in any deeper process groups too. The MiNiFi flow should be built on the same Nifi instance that holds the Input Port. Then when you route the bottom of the MiNiFi flow to the Remote Process Group in your MiNiFiFlow you will be able to select that Input Port. Like this:

enter image description here

Here are some screen shot samples showing MiNiFi Flow:

enter image description here enter image description here

And you can find the template on my GitHub:

https://github.com/steven-dfheinz/NiFi-Templates/blob/master/MiNiFi_Tail_Logs_to_NiFi_to_HDFS_Demo.xml