Fluss想要使用阿里云oss作为远程存储,应该如何设置?

提问者:帅平 问题分类:大数据
Fluss想要使用阿里云oss作为远程存储,应该如何设置?
1 个回答
泛白的记忆使沉迷
泛白的记忆使沉迷
配置fluss的server.yaml,内容如下:
# The dir that used to be as the remote storage of Fluss
remote.data.dir: oss://<your-bucket>/path/to/remote/storage
# Aliyun OSS endpoint to connect to, such as: oss-cn-hangzhou.aliyuncs.com
fs.oss.endpoint: <your-endpoint>
# Aliyun access key ID
fs.oss.accessKeyId: <your-access-key>
# Aliyun access key secret
fs.oss.accessKeySecret: <your-secret-key>
# Aliyun STS endpoint to connect to obtain a STS token, such as: sts.cn-hangzhou.aliyuncs.com
fs.oss.sts.endpoint: <your-sts-endpoint>
# For the role of the STS token obtained from the STS endpoint, such as: acs:ram::123456789012:role/testrole
fs.oss.roleArn: <your-role-arn>
发布于:3个月前 (01-23) IP属地:四川省
我来回答