Skip to content

airbnb/plog-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plog

Simple Ruby UDP client for the Plog Kafka forwarder.

Build & run tests

bundle install
bundle exec rspec

Usage

Instantiate a client and start sending messages.

require 'plog'
client = Plog.new
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: 54321)
  • :chunk_size - The maximum payload size for multipart datagrams (default: 64,000)
  • :logger - An optional logger instance

About

Ruby client for Plog, the Kafka forwarder

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages