Skip to content

POC NodeJS library that implements an event sourcing pattern

Notifications You must be signed in to change notification settings

pushreset/event-sourcing

This branch is up to date with marcghorayeb/event-sourcing:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Marc Ghorayeb
Dec 8, 2015
d5ce59c · Dec 8, 2015

History

16 Commits
May 3, 2015
May 3, 2015
May 3, 2015
Apr 26, 2015
May 3, 2015
Apr 26, 2015
May 1, 2015
Nov 16, 2015
May 1, 2015
Dec 8, 2015
Jul 16, 2015
Jul 16, 2015

Repository files navigation

Event-Sourcing POC

Requirements

  • NodeJS (0.12)
  • AMQP compliant broker (tested with RabbitMQ)
  • Event storage (tested with MongoDB)

Installation

Include the node module in your project by installing it through npm:

npm install --save event-sourcing

Usage

The pattern is split up into two distinct parts. Publishers and Consumers. Publishers are responsible for persisting an incoming event and emitting it to consumers for process. Consumers listen for specific events and contain the business logic.

Publishers

Todo.

Consumers

Todo.

1.0 Roadmap

  • Usage examples
  • Interface storage to plug multiple engines (File based, SQL, Document)
  • Test with multiple AMQP brokers
  • Snapshot creation
  • Re-emit events support
  • Event replay
  • Event breakpointing

About

POC NodeJS library that implements an event sourcing pattern

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%