https://github.com/jsreport/jsreport-fs-store-aws-sns-sync
Make jsreport fs store run in cluster and synchronize changes through aws sns
https://github.com/jsreport/jsreport-fs-store-aws-sns-sync
Last synced: about 1 year ago
JSON representation
Make jsreport fs store run in cluster and synchronize changes through aws sns
- Host: GitHub
- URL: https://github.com/jsreport/jsreport-fs-store-aws-sns-sync
- Owner: jsreport
- Created: 2017-11-18T20:55:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-20T16:54:17.000Z (almost 5 years ago)
- Last Synced: 2025-04-11T23:47:19.440Z (about 1 year ago)
- Language: JavaScript
- Size: 87.9 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
⚠️ This extension is deprecated and is compatible only with the jsreport v2
--
# jsreport-fs-store-aws-sns-sync
[](https://npmjs.com/package/jsreport-fs-store-aws-sns-sync)
[](https://travis-ci.org/jsreport/jsreport-fs-store-aws-sns-sync)
**Run jsreport [fs store](https://github.com/jsreport/jsreport-fs-store) in cluster and synchronize using AWS SNS.**
## Installation
> npm install jsreport-fs-store
> npm install jsreport-fs-store-aws-sns-sync
Create an IAM user with permissions to SNS and SQS and copy the access key and secret access key. Then alter the jsreport configuration:
```js
"store": {
"provider": "fs",
"sync": {
"name": "aws-sns",
// the rest is optional
"accessKeyId": "...",
"secretAccessKey": "..."
"topic": "jsreport",
"subscription": "",
"region": "us-east-1"
}
},
```
The topic and subscription is automatically created if not existing during the instance startup.