Skip to content

An example using Kafka with ruby-kafka & racecar gems.

Notifications You must be signed in to change notification settings

fangnan124/kafka_playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka Playground

An example using Kafka with ruby-kafka & racecar gems.

Setup

  1. Build
    docker-compose build

Run

  1. Run Docker

    docker-compose up
  2. Run Consumer within app container

    # docker-compose exec app bash
    racecar --require consumer Consumer
  3. Run Producer within app container

    # docker-compose exec app bash
    ruby producer.rb
  4. Consumer will prints Hello World with current time. You can run Producer multiple times to send more messages.

About

An example using Kafka with ruby-kafka & racecar gems.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published