Support Questions
Find answers, ask questions, and share your expertise

How to achieve load balancing in Nifi 1.1.2

Explorer

Is there is any way to achieve load balancing in Nifi cluster apart from using Remote process group?

1 ACCEPTED SOLUTION

Accepted Solutions

Master Guru
@Gaurav Jain

Ideally load-balancing would be handle by the systems pushing data to your NiFI. When that is not possible and you are forced to ingest all data to a single Node in your NiFi cluster, load-balancing must be handled via a dataflow implementation.

Using a Remote Process Group (RPG) is the most common solution used to redistribute already ingested data across all node sin a cluster, but you can also use multiple PostHTTP processors (1 for every node in your cluster) and a single ListenHTTP processor to build a FlowFile distribution dataflow.

See the following for more info...

https://community.hortonworks.com/articles/16120/how-do-i-distribute-data-across-a-nifi-cluster.html

Thanks,

Matt

View solution in original post

1 REPLY 1

Master Guru
@Gaurav Jain

Ideally load-balancing would be handle by the systems pushing data to your NiFI. When that is not possible and you are forced to ingest all data to a single Node in your NiFi cluster, load-balancing must be handled via a dataflow implementation.

Using a Remote Process Group (RPG) is the most common solution used to redistribute already ingested data across all node sin a cluster, but you can also use multiple PostHTTP processors (1 for every node in your cluster) and a single ListenHTTP processor to build a FlowFile distribution dataflow.

See the following for more info...

https://community.hortonworks.com/articles/16120/how-do-i-distribute-data-across-a-nifi-cluster.html

Thanks,

Matt

View solution in original post