Hi,

We are using Nifi for getting the data from mongoDB and store them in LFS. Actually we trying to explore more features of Nifi.

While storing the data in LFS, Nifi is generating one file each for document. If i am not specifying Max file count property in PutFile processor it is generating same files continuously, i.e if i have 10 documents it is creating the same documents again and again.

If i specify any value for the Max File count say 10 then it will only fetch only 10 documents it will ignore the rest.

I want to understand how to limit the file count to number of documents in mongoDB collection and increase the number of documents as data grow

Reply via email to