Hi Aldrin, Thanks for your response.
i wants to keep only 5 files each file should having size 100KB. If total size of the files reaches 500KB then it will delete oldest file and then write new file. I have tried SizeAndTimeBasedPolicy then it couldn't preferable for me to use with respect to my requirement. According to that need which rolling policy would you recommend me to use in NiFi? Thanks, Mahendran