I am trying to read files from AWS S3 and process it with Spring Batch:
Can a Spring Itemreader process this Task? If so, How do I pass the credentials to S3 client
Another way to read from S3 through FlatFileItemReader is to set Resouce as InputStream Resouce and then use s3client putobject to upload the Stream.
reader.setResource(new InputStreamResouce(inputstream));
Once the stream is populated,
s3client.putObject(bucketname,key,inputstream,metadata);