gathr-analytics
v1.0.3
Published
This project is a support to manage Amazon SQS, a message queuing service for Gathr analytics
Downloads
10
Readme
gathr-analytics
Quickstart
To create a event message...
1. Install
npm install gathr-analytics
2. Instance Class
const {GathrAnalytics} = require('gathr-analytics');
var handler = new GathrAnalytics('access_key_id','secret_access_key','region','version');
3. Setup FIFO Url
handler.setUrlQueue("url_fifo_aws");
API Summary
| | | |
| --- | --- | --- |
| setUrlQueue(url)
| To configure the url of the queue with which to work for the events | New in [email protected]
|
| getEvents(numberOfMessages)
| To get a list of events in the queue, you must specify the number of events to extract | New in [email protected]
|
| addEvent(body, payload)
| To add an event in the queue, you need to specify the body and the payload | New in [email protected]
|
| deleteEvent(ReceiptHandle)
| To remove an event in the queue, you must specify the Receipt Handle id | New in [email protected]
|