Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.06 KB

README.md

File metadata and controls

21 lines (15 loc) · 1.06 KB

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