Skip to content

ggayan/zmq_broker_example

Repository files navigation

zmq_broker_example

ZeroMQ pull-publish ruby broker example

I needed to make a small broker between some applications using ZeroMQ. The first application can have many processes (pusher.rb) and pushes messages to the broker (broker.rb). There can also be many clients (subscriber.rb) subscribed to the broker, consumming messages.

to try the application, run the following commands (tried on osx):

  • brew install zmq
  • bundle install
  • bundle exec ruby app.rb

About

ZeroMQ pull-publish ruby broker example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages