scatter-gather-external-events

v2.3.0
Module for the scatter-gather library that sends messages to an external event bus.

scatter-gather-external-events-sns

Module for the scatter-gather library that sends messages to an external event bus.

This package provides a module that can be plugged into the scatter-gather package. It will take messages sent to it by the scatter-gather and forward them on to an external message bus such as SNS.

Usage

You can use this module with SNS in the following manner:

const ExternalEventsSns = require('scatter-gather-external-events').ExternalEventsSNS
const extEvts = new ExternalEventsSns({
    topicArn: 'FakeArn'.
    region: 'us-west-2'
})
npm i scatter-gather-external-events

Metadata

Downloads