Now I have just started the processor I can see queue in Generate flow File is queued upto 10000 and Flow 1 is having 6000 and Flow2 is having somewhat around 1000 with N number of duplicates .
Now How can I restrict it to only given content without any repetition .SO expected output is only two text files on respective flows . not n number of values . How can I configure that way . Can you please high level information of why is it happening .
Cannot terminate relationship in GenerateFlowFile as the connection is already given to next processor .
One important thing is Flow 1 should be executed first and flow 2 should be executed after the flow 1 is completed .