0.0.30 • Published 2 years ago
pp-event-bus v0.0.30
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 storedEVENT_BUS_QUEUE- default:localdev.eventbusRABBITMQ_URL- default:amqp://guest:guest@127.0.0.1/
Examples
Sample:
consumer:src/examples/consumer.jsproducer:src/examples/producer.js
To see them in action, run
npm run buildto build projectnpm startto run eventBus microservicenpm run consumerto run example consumernpm run producerto run example producer
To run rabbitMQ in docker locally run:
docker compose up -d- go to http://127.0.0.1:15672/ to see rabbitMQ management console (user/pass -
guest/guest)
0.0.25
2 years ago
0.0.30
2 years ago
0.0.26
2 years ago
0.0.27
2 years ago
0.0.28
2 years ago
0.0.29
2 years ago
0.0.20
2 years ago
0.0.22
2 years ago
0.0.23
2 years ago
0.0.24
2 years ago
0.0.18
2 years ago
0.0.19
2 years ago
0.0.17
3 years ago
0.0.16
3 years ago
0.0.14
3 years ago
0.0.12
3 years ago
0.0.11
3 years ago
0.0.10
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago