Skip to content

A simple project to build a consumer and a producer using Kafka and Golang language

Notifications You must be signed in to change notification settings

Mikkaiser/golang-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple project to build a consumer and a producer using Kafka and Golang language

Topics

Resources

Stars

Watchers

Forks