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

NiFi Partition by Attribute - Load balancing not working

Highlighted

NiFi Partition by Attribute - Load balancing not working

New Contributor

@MattWho I am seeing this issue in cluster where partition by attribute load balancing strategy is not working. Round robin and single node strategy works and is able to shuffle files between nodes and works as expected however when partition by attribute ${filename}/${fragment.identifier} is used all the files stay on primary node only.

Are there any specific settings required to be set in nifi config for this load balancing strategy to work?

 

I'm trying to achieve below scenario for one of the requirement that files with same fragment identifier should be on same node so that we can run multithreading and Merge can be effectively used.

Dshah129_0-1612338674239.png