Vlad Gorodetsky d6a75f307a Merge pull request #1338 from bailu1901/master há 7 anos atrás
..
README.md 7884a5f3f4 feat: consumer group example há 7 anos atrás
go.mod 7884a5f3f4 feat: consumer group example há 7 anos atrás
go.sum 482a135381 Update lz4 version há 7 anos atrás
main.go fb79fb6ede [fix] run multi consumer group instance crash há 7 anos atrás

README.md

Consumergroup example

This example shows you how to use the Sarama consumer group consumer. The example simply starts consuming the given Kafka topics and logs the consumed messages.

$ go run main.go -brokers="127.0.0.1:9092" -topics="sarama" -group="example"