2.1.2 • Published 7 years ago

eventsd-server v2.1.2

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

#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).

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.7

8 years ago

2.0.6

8 years ago

2.0.5

8 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago