Scott Kidder 5ad743b184 Use log.Panicf to provide more context to panic errors | 5 rokov pred | |
---|---|---|
.. | ||
README.md | 5 rokov pred | |
go.mod | 5 rokov pred | |
go.sum | 5 rokov pred | |
main.go | 5 rokov pred |
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"