mongo to s3 将数据从mongoexport传输到s3存储桶
mongo到s3 (WIP) var AWS = require ( "aws-sdk" ) ; var MongoToS3 = require ( "mongo-to-s3" ) ; var through = require ( "through" ) ; var s3 = new AWS . S3 ( { accessKeyId : "myAccessKey" , secretAccessKey : "mySecretAccessKey" , region : "us-east-1" } ) ; mongoToS3 = new MongoToS3 ( s3 ) ; mongoToS3 . createS3Sink ( { s3 : { Bucket : "myBucket" , Key : "myKey" , ACL : "p
用户评论