使用 Spring Cloud DataFlow Streams 将“bucket”同步到本地目录时出现问题

问题描述

我正在关注这个 Case Study,它类似于我想要在 S3 存储桶中接收数千个文件并启动将使用它们的批处理任务。

但我得到:

paging

我已经在某些应用中使用 Problem occurred while synchronizing 'bucket' to local directory; nested exception is org.springframework.messaging.MessagingException: Failed to execute on session; nested exception is com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; 依赖项使用此存储分区。

我知道消息很清楚,但是当我需要像这样与 Spring Cloud DataFlow 同步时,我是否应该在存储桶中拥有特定权限?

我当前的流配置是:

spring-cloud-starter-aws

提前致谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)