As you suggested, setting 3 UpdateAttribute may be tedious. Suppose I have more than 10 flowfiles setting 10 updateattribute processor is lengthy one. This case also not possible for dynamically generating flowfiles.
How to set priority attribute for the flowfiles from Getfile? Suppose I get 10 files in the Getfile processor, based on my priority I have ordered the flowfile each line in the files till PutSQL. Here without considering the order, based on the filecreation time, data is moved without my ordered records. For this case only I decided with the PriorityAttributePrioritizer and used UpdateAttribute processor. I can able to set the priority attribute for each line in the file, but not each files from GetFile. Can you suggest any solution? On Wed, Mar 1, 2017 at 7:18 PM, Bryan Bende <[email protected]> wrote: > I just responded to this question on stackoverflow: > > https://stackoverflow.com/questions/42528993/how-to- > specify-priority-attributes-for-seperate-flowfiles > > Thanks, > > Bryan > > On Wed, Mar 1, 2017 at 5:19 AM, prabhu Mahendran > <[email protected]> wrote: > > I need to use PrioritizeAttributePrioritizer in NiFi. > > > > i have observed that prioritizers in below reference. > > https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#settings > > > > if i receive 10 flowfiles then i need to set the priority value for every > > flow file to be unique. > > > > After that specify queue configuration must be > > PrioritizeAttributePrioritizer. > > > > Then processing flowfiles based on priority value. > > > > How can i set priority value for seperate flow files or which > prioritizer in > > Nifi to be work for my case? >
