Skip to content
forked from x-raay/kafka-go

kafka producer and consumer in golang

Notifications You must be signed in to change notification settings

touzii/kafka-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka Producer and Consumer in Golang using Sarama & Sarama-Cluster(Consumer Groups)

start.sh file creates
1. Checks if Kafka & Zookeeper is up and running
2. Golang static binaries for producer and consumer
3. Docker imgs for producer and consumer namely k_producer & k_consumer,respectively

How to Run producer & consumer?

1. start the consumer : docker run k_consumer
2. start the producer : docker run k_producer

To see the available options, pass arguments to your docker command as shown 

sudo docker run k_producer --help

About

kafka producer and consumer in golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 52.1%
  • Shell 37.7%
  • Makefile 8.2%
  • Dockerfile 2.0%