use of com.emc.object.s3.jersey.S3JerseyClient in project pravega by pravega.
the class ExtendedS3StorageFactory method createStorageAdapter.
@Override
public Storage createStorageAdapter() {
S3Config s3Config = new S3Config(config.getUrl()).withIdentity(config.getAccessKey()).withSecretKey(config.getSecretKey()).withNamespace(config.getNamespace());
S3JerseyClient client = new S3JerseyClient(s3Config);
ExtendedS3Storage s = new ExtendedS3Storage(client, this.config);
return new AsyncStorageWrapper(new RollingStorage(s), this.executor);
}
Aggregations