Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eventsd-server

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eventsd-server

eventsd server

  • 2.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

#eventsd-server

Eventsd service

Supports publishing eventsd messages to the following messaging services:

  • rabbitMQ (type: amqp)

New services can be added using the internal pluggable messaging service interface.

Install

npm install -g eventsd-server

##Config

Specify an optional JSON configuration file:

eventsd -c path/to/config.json

The configuration file should have the following format (defaults shown):

{
    "udpServer": {
        "port": 8150,
        "host": "0.0.0.0"
    },
    "websocketServer": {
        "port": 8151
    },
    "publisher": {
        "type": "amqp",
        "options": {
            "host": "127.0.0.1",
            "port": 5672,
            "user": "guest",
            "password": "guest",
            "vhost": "/",
            "ssl": {
                "enable": false
            }
        }
    },
    "consumer": {
        "type": "amqp",
        "options": {
            "host": "127.0.0.1",
            "port": 5672,
            "user": "guest",
            "password": "guest",
            "vhost": "/",
            "ssl": {
                "enable": false
            }
        }
    },
    "publisherOnly": false,
    "consumerOnly": false
}

##Environment Variables

The following environment variables are also available:

# for firehose connection
SZ_AMQP_HOST
SZ_AMQP_PORT
SZ_AMQP_USER
SZ_AMQP_PASSWORD
SZ_AMQP_VHOST

# for UDP server
SZ_EVENTSD_SERVER_UDP_HOST   # default: all addresses
SZ_EVENTSD_SERVER_UDP_PORT   # default: 8150

# for extra logging
DEBUG   # default: "error,warn,info".  Use "debug" and/or "verbose" for more logs

##Testing

amqp

Install and run rabbitMQ server on your local host.

Use Homebrew on OSx. All other distros have packages for rabbitMQ (install with your favorite package manager).

Keywords

FAQs

Package last updated on 09 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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