plog-client

Send messages via UDP to the Plog Kafka forwarder.

unmaintained
Last updated 2 years ago by schleyfox .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install plog-client 
SYNC missed versions from official npm registry.

plog-client

Simple Node.js UDP client for the Plog Kafka forwarder.

Usage

Instantiate a client and start sending messages.

PlogClient = require('plog-client');
client = new PlogClient;
client.send("My hovercraft is full of eels.");

You can configure the client at initialization by passing these options:

  • host - The host of the Plog process (default: 'localhost')
  • port - The port on which Plog is listening (default: 23456)
  • chunkSize - The maximum payload size for multipart datagrams (default: 64,000)
  • logger - An optional logger instance (default: console)
  • verbose — Enables verbose logging (default: false)

Current Tags

  • 0.0.3                                ...           latest (2 years ago)

1 Versions

  • 0.0.3 [deprecated]           ...           2 years ago
Downloads
Today 1
This Week 2
This Month 2
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |