Im currently merge content processor with avro files, data will be coming streaming manner, we want to merge with existing file with new file. While i set minimum no of entries as 2 Is there any possiblities to set minimum no of entires as dynamic manner (dynamic no of input flow files).. Can you please help me out.
I dont think you can set that filed dynamically as that filed does not support expression language.
How do you decide that dynamic value?
Cant you control your merge criteria by using max size & max bucket time along with the count?
It looks like a batch mode rather than real streaming when you say 'first time and next time'.
You can merge them in that batch fashion only, using minimum and maximum waiting time configurations.
If you think you can get common unique value for these files which needs to be bunched together, then you can use 'Correlation Attribute Name' in MergeContent processors to achieve the same