Hi Aruna,
The resulted two FlowFiles have the same contents I guess, that is the PDF
file you specified at FetchS3Object Object Key.
The flow worked as follows actually:
1. ListS3 listed two FlowFiles, Ntl_15.csv and 11500509.pdf
2. FetchS3Object is executed twice for each incoming FlowFile
2-1.
I have 2 files in S3 - one is CSV and other is pdf. I want to fetch the pdf and
load into Elastic Search. Even though I give the object key as the pdf file
name, it is still taking all the files from S3. How do I make sure it takes
only the file that is needed?