当前位置: 首页 > news >正文

zerofs 支更多兼容s3服务了

zerofs 支更多兼容s3服务了

在zerofs 1.0.2 版本中,作者通过redis 以及自己扩展了object storage rust 包 实现了条件put 操作,这样基本上所有s3服务就都可以兼容了

参考玩法

[aws]
secret_access_key = "xxxxx"
access_key_id = "xxxxx"
endpoint = "xxxxxx"  # For S3-compatible services
default_region = "xxxxxx"
conditional_put = "redis://localhost:6379" 

说明

目前通过七牛云的测试是可以的,对于oss 的支持目前暂时还有格式的oss 请求路径的问题,机制上应该也是支持的,还需要研究下

参考资料

https://github.com/Barre/ZeroFS/releases/tag/v1.0.2

https://www.zerofs.net/configuration#complete-examples