Diego Alvarez 8b72385c90 adds a note about consumer groups Consume method | 4 tahun lalu | |
---|---|---|
.. | ||
README.md | 5 tahun lalu | |
go.mod | 5 tahun lalu | |
go.sum | 5 tahun lalu | |
main.go | 4 tahun lalu |
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"