0.0
No commit activity in last 3 years
No release in over 3 years
The SimplePubSub gem is a messaging broker which uses Eventmachine + websockets.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.5.5, ~> 0.5
>= 0.5.3, ~> 0.5
 Project Readme

Running a SimplePubSub Broker

The SimplePubSub gem uses a messaging system similar to MQTT.

Getting started

Gem install the simplepubsub gem e.g. sudo gem install simplpubsub

Running the broker

The broker can conveniently be run from an IRB session e.g.

require 'simplepubsub'

SimplePubSub::Broker.start

Notes:

  • The default IP address binding is 0.0.0.0 which can be changed by supplying the named parameter host to initialize() e.g. initialize(host: '127.0.0.1').
  • The default port is 59000 which can be changed by supplying the named parameter port to initialize() e.g. initialize(port: '8080').

Resources

simplepubsub gem