Skip to main content

Aliyun OSS

To use this Apache Druid extension, make sure to include aliyun-oss-extensions extension.

Deep Storage

Aliyun is the 3rd largest cloud infrastructure provider in the world. It provides its own storage solution known as OSS, Object Storage Service.

To use aliyun OSS as deep storage, first config as below

PropertyDescriptionPossible ValuesDefault
druid.oss.accessKeythe AccessKey ID of your account which can be used to access the bucketMust be set.
druid.oss.secretKeythe AccessKey Secret of your account which can be used to access the bucketMust be set.
druid.oss.endpointthe endpoint url of your OSS storageMust be set.

if you want to use OSS as deep storage, use the configurations below

PropertyDescriptionPossible ValuesDefault
druid.storage.typeGlobal deep storage provider. Must be set to oss to make use of this extension.ossMust be set.
druid.storage.oss.bucketstorage bucket name.Must be set.
druid.storage.oss.prefixa prefix string prepended to the file names for the segments published to aliyun OSS deep storagedruid/segments

To save index logs to OSS, apply the configurations below:

PropertyDescriptionPossible ValuesDefault
druid.indexer.logs.typeGlobal deep storage provider. Must be set to oss to make use of this extension.ossMust be set.
druid.indexer.logs.oss.bucketthe bucket used to keep logsMust be set.
druid.indexer.logs.oss.prefixa prefix string prepended to the log files.