deepstream.io-plugin-huawei-cloud
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

deepstream.io-plugin-huawei-cloud

This plugin is a third party deepstream.io plugin. It can help you sync your deepstream.io heap-snapshots to Huawei Cloud OBS.

Services

OBS Sync

OBS Sync is one way, it will only upload files to OBS, and will not download OBS files to local directory. If there are same files, ie. same filenames in OBS, OBS Sync will only upload the newer ones, so that it won't upload the exist files to OBS, unless the local files are updated.

Config

deepstream.io/conf/config.yml

plugins:
  huawei-cloud:
    name: huawei-cloud
    options:
      accessKeyId: ${HUAWEI_CLOUD_ACCESS_KEY_ID}
      secretAccessKey: ${HUAWEI_CLOUD_SECRET_ACCESS_KEY}
      services:
        - type: obs-sync
          options:
            syncDir: file(../heap-snapshots)
            bucketName: ${SYNC_BUCKET_NAME}
            obsEndpoint: ${OBS_ENDPOINT}
            # obsKeyPrefix: heap-snapshots

Package Sidebar

Install

npm i deepstream.io-plugin-huawei-cloud

Weekly Downloads

0

Version

1.0.2

License

Apache-2.0

Unpacked Size

56 kB

Total Files

24

Last publish

Collaborators

  • harrylit