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

what is the difference between bin-packing algorithm and defragment merge strategy in merge content processor nifi? which one is the has the better performance?

Explorer
 
1 REPLY 1

Bin packing is the standard strategy that is used when merging together data, it just writes the bytes of each flow file one after another, inserting optional header, footer, and demarcators.

Defragment strategy is for when you have previously used one of the "split" processors and want to undo the split back to a single flow file. This mode requires that all of the incoming flow files have the standard "fragment" attributes like fragment.identifier, fragment.index, and fragment.count which are created by the split processors.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.