eip-mongo
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

eip-mongo

Enterprise Integration Patterns for javascript mongodb adapter.

Create a mongodb store to be used in aggregator that is using mongodb to store aggregations. Aggregate events through many nodes.

Dependencies

In order for this module to work a mongoose connection is required. Make sure you connect to mongo using mongoose > 4.0.0

Installation

npm install --save eip-mongo

Usage

const eip = require('eip');
const { Store } = require('eip-mongo')
const store = new Store(3600) // ttl to delete from mongo after 3600 sec
const aggregator = new eip.Route().aggregate({ store });

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    2
  • 0.1.0
    0
  • 0.0.2
    0
  • 0.0.1
    1

Package Sidebar

Install

npm i eip-mongo

Weekly Downloads

3

Version

0.2.0

License

MIT

Unpacked Size

9.96 kB

Total Files

11

Last publish

Collaborators

  • nikostoulas