Support Questions

Find answers, ask questions, and share your expertise

Communication between 2 nifi instances one on remote server and the other nifi in EC2 instance. (Site to site?)

avatar
Expert Contributor

Hi ALL,

Just wondering if we have any example templates to see the configuration of site to site i think using Nifi? Or if we have any instructions on how to configure site to site it will be helpful for me to create a new one. Thank you?

1 ACCEPTED SOLUTION

avatar
Master Guru

This example uses site-to-site to send logs from one instance to another using a push model:

https://github.com/bbende/nifi-streaming-examples

The first instance has a Remote Process Group pointing to the URL of the second instance.

The second instance has an Input Port to receive logs, which the Remote Process Group from the first instance is connected to.

You also need to enable nifi.remote.input.socket.port and nifi.remote.input.secure on the node where the an incoming connection will be made. In this example that is the node with the Input Port which will receive an incoming connection from the Remote Process Group on the first node.

View solution in original post

1 REPLY 1

avatar
Master Guru

This example uses site-to-site to send logs from one instance to another using a push model:

https://github.com/bbende/nifi-streaming-examples

The first instance has a Remote Process Group pointing to the URL of the second instance.

The second instance has an Input Port to receive logs, which the Remote Process Group from the first instance is connected to.

You also need to enable nifi.remote.input.socket.port and nifi.remote.input.secure on the node where the an incoming connection will be made. In this example that is the node with the Input Port which will receive an incoming connection from the Remote Process Group on the first node.