amqp-heartbeat
Advanced tools
Comparing version 0.2.0 to 1.0.0
{ | ||
"name":"amqp-heartbeat", | ||
"version":"0.2.0", | ||
"version":"1.0.0", | ||
"description":"Send heartbeat messages to RabbitMQ", | ||
@@ -5,0 +5,0 @@ "author":"ma-ha", |
@@ -5,11 +5,15 @@ ## Send Heartbeat Messages To RabitMQ | ||
var heartbeat = require( 'amqp-heartbeat' ) | ||
heartbeat.start( 'amqp://user:password@localhost', 'Some Service Name' ) | ||
```javascript | ||
var heartbeat = require( 'amqp-heartbeat' ) | ||
heartbeat.start( 'amqp://user:password@localhost', 'Some Service Name' ) | ||
``` | ||
## Run RabbitMQ (Docker Container) | ||
docker run -d --hostname my-rabbit --name some-rabbit -e RABBITMQ_DEFAULT_USER=user -p 5672:5672 -p 15672:15672 -e RABBITMQ_DEFAULT_PASS=password rabbitmq:3-management | ||
docker run -d --hostname my-rabbit --name some-rabbit -p 5672:5672 -p 15672:15672 -e RABBITMQ_DEFAULT_USER=user -e RABBITMQ_DEFAULT_PASS=password rabbitmq:3-management | ||
## Collect Heartbeat Messages | ||
Use [amqp-heartbeat-to-mongodb package](https://www.npmjs.com/package/amqp-heartbeat-to-mongodb) | ||
to collect and store heartbeat messages in a MongoDB. | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4451
1
18