Golang Kafka consumer and producer example
Sample Golang Kafka Consumer and Producer
Producer
go run cmd/producer/main.go
Consumer
flags:
go run cmd/consumer/main.go
Received messages Something Cool #1
Received messages Something Cool #2
Received messages Something Cool #3
Received messages Something Cool #4
Received messages Something Cool #5
We would love you for the contribution to go-kafka-example, check the LICENSE
file for more info.
Vinicius Souza – @iamvsouza – hi@vsouza.com
https://github.com/vsouza/go-kafka-example