Remote NiFi input ports are not exposed

5k views Asked by At

I'm learning Apache NiFi. I'm working on a simple site-to-site data flow. On one side, I have a single node NiFi and on the other side, I have two node NiFi cluster. The issue that I'm facing is, (on the single node instance)when I connect a GetFile processor with a Remote Process Group(Two node NiFi cluster), the connection details asks me to select the Input Port name of the Remote Cluster. However, in the drop down list, my remote cluster's input port name is not displayed.

I have given the correct URL of the remote NiFi cluster. the single node instance is supposed to talk with the remote cluster to get the port details and port names, right? Then why is it now showing my input port?

1

There are 1 answers

0
Bryan Bende On BEST ANSWER

In a secure setup, there are two policies that need to be created. One is a global policy that allows the Remote Process Group to ask the other NiFi for information about the nodes/node, this is called "retrieve site-to-site details", the other is a policy on each port that allows data to be sent to it, this is called "receive data via site-to-site".

This blog post explains how to configure secure site-to-site in more detail: http://bryanbende.com/development/2016/08/30/apache-nifi-1.0.0-secure-site-to-site