简体   繁体   中英

how MergeContent keep order when merging

在此处输入图片说明

at line 270, use HashMap to group flowfiles, then iterate entrySet() to add flowfile to readyBins.

在此处输入图片说明

If Correlation Attribute Name is not set and Merge Strategy is set to Bin-Packing Algorithm , how can MergeContent keep flowfiles order in which they are pulled from the queue?

I know why can keep order if Correlation Attribute Name not specified, as only one key null in hashmap. I wonder should LinkedHashMap better?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM