Socket
Socket
Sign inDemoInstall

amqp-heartbeat

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amqp-heartbeat - npm Package Compare versions

Comparing version 0.2.0 to 1.0.0

2

package.json
{
"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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc