mongo-to-s3:将数据从 mongoexport 传输到 s3 存储桶

时间:2024-07-26 09:13:38
【文件属性】:

文件名称:mongo-to-s3:将数据从 mongoexport 传输到 s3 存储桶

文件大小:9KB

文件格式:ZIP

更新时间:2024-07-26 09:13:38

JavaScript

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


【文件预览】:
mongo-to-s3-master
----.travis.yml(40B)
----.jshintignore(24B)
----index.js(6KB)
----export.js(5KB)
----package.json(872B)
----jsonparser.js(711B)
----test()
--------exports-test.js(81B)
--------index.js(65B)
--------test.js(317B)
----LICENSE(1KB)
----tail.js(545B)
----worker.js(695B)
----.gitignore(36B)
----Makefile(608B)
----README.md(3KB)

网友评论