Cricket Live Score Example using RabbitMQ. [Publisher/Producer Microservice]
Ruby HTML CSS JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
tmp
vendor/assets
.gitignore
.rspec
.ruby-version
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Cricket Live Score Example using RabbitMQ. [Publisher/Producer Microservice]

In this microservice, we (admin) actually adds live match record (score) into the database and immediately we also publish that score to another microservice https://github.com/mechanicles/espn_cricinfo_frontend.

This microservice https://github.com/mechanicles/espn_cricinfo_frontend acts as a subscriber to our system. Users will use this microservice to get the real time match updates on their browser.

Setup

  • Install RabbitMQ and run it in background.
  • Install Web-Stomp by enabling it using rabbitmq-plugins enable rabbitmq_web_stomp
  • Create & migrate database using Rails commands.

Demo