0.0.30 • Published 6 months ago

pp-event-bus v0.0.30

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

eventBus

Small library and microservice form rabbitmq-based event bus.

Usage

npm i --save pp-event-bus - install library npm start - run eventBus microservice

Environment variables

  • EVENT_BUS_LOG - path to directory where event logs will be stored; if not set, event logs will not be stored
  • EVENT_BUS_QUEUE - default: localdev.eventbus
  • RABBITMQ_URL - default: amqp://guest:guest@127.0.0.1/

Examples

Sample:

  • consumer: src/examples/consumer.js
  • producer: src/examples/producer.js

To see them in action, run

  • npm run build to build project
  • npm start to run eventBus microservice
  • npm run consumer to run example consumer
  • npm run producer to run example producer

To run rabbitMQ in docker locally run:

0.0.25

7 months ago

0.0.30

6 months ago

0.0.26

7 months ago

0.0.27

7 months ago

0.0.28

7 months ago

0.0.29

6 months ago

0.0.20

11 months ago

0.0.22

8 months ago

0.0.23

8 months ago

0.0.24

8 months ago

0.0.18

11 months ago

0.0.19

11 months ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.14

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago