As you probably know, Sarama's documentation is so bad. Nothing is clear. I have just found this example: https://godoc.org/github.com/Shopify/sarama#example-Consumer
It consumes the messages. That's ok. I couldn't figure out how to use GroupID while consuming.
How can set group id in Sarama?