Diego Alvarez 7b0711a9ae Adds a Producer Interceptor example | %!s(int64=4) %!d(string=hai) anos | |
---|---|---|
.. | ||
README.md | %!s(int64=5) %!d(string=hai) anos | |
go.mod | %!s(int64=4) %!d(string=hai) anos | |
go.sum | %!s(int64=4) %!d(string=hai) anos | |
main.go | %!s(int64=4) %!d(string=hai) anos |
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"