Diego Alvarez 8b72385c90 adds a note about consumer groups Consume method 4 年 前
..
README.md 7884a5f3f4 feat: consumer group example 5 年 前
go.mod 7fd0b27784 Use zstd 1.3.8 5 年 前
go.sum 7fd0b27784 Use zstd 1.3.8 5 年 前
main.go 8b72385c90 adds a note about consumer groups Consume method 4 年 前

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"