Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 517 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 517 Bytes

How can I run this project?

Run docker compose up -d to setup all containers:

  • Go container with librdkafka installed;
  • Zookeeper Kafka metadata manager;
  • The Kafka;
  • Control Center to get an interface to help manage the Kafka's traffic.

Type docker compose exec goapp bash to enter in Go container.

go to /cmd/producer and run go run main.go to run the producer, and the same into /cmd/consumer to run the consumer and log the producer's messages.