Skip to content

extramileit/gamecast-services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Start message bus and game-events topic

  1. Open terminal window and start the zookeeper service
cd ~/kafka/kafka_2.13-2.7.0/
bin/zookeeper-server-start.sh config/zookeeper.properties
  1. In a new terminal tab, start the broker service
bin/kafka-server-start.sh config/server.properties
  1. In a new terminal tab, create a game-events topic and publish event messages
bin/kafka-topics.sh --create --topic game-events --bootstrap-server localhost:9092  
  1. Publish event messages
bin/kafka-console-producer.sh --topic game-events --bootstrap-server localhost:9092
  1. Add event messages at prompt

Sample event messages

  • BeginTeamCompetition
    {"BeginTeamCompetition": {"home_team_id": 1, "away_team_id": 2, "venue_id": 1}}
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages