I'm trying to create a stream which needs to listen to a folder in S3 bucket.
I could create a stream listening to the root of the bucket using following properties and could trigger the process.
app.s3-in.s3.supplier.remote-dir=mybucket
app.s3-in.cloud.aws.credentials.accessKey=XXXXXXXXXX
app.s3-in.cloud.aws.credentials.secretKey=YYYYYYYYYYYYYYYYY
app.s3-in.cloud.aws.region.static=ZZZZZZZZ
app.s3-in.cloud.aws.stack.auto=false
But unable to listen to a folder in the bucket. I tried with following options:
app.s3-in.s3.supplier.remote-dir=mybucket/myfolder
app.s3-in.s3.supplier.remote-dir=mybucket/myfolder/
app.s3-in.s3.supplier.remote-dir=/mybucket/myfolder
app.s3-in.s3.supplier.remote-dir=/mybucket/myfolder/
I tried setting app.s3-in.path-style-access=true as well.