func consume(ctx context.Context) {
// initialize a new reader with the brokers and topic
// the groupID identifies the consumer and prevents
// it from receiving duplicate messages
r := kafka.NewReader(kafka.ReaderConfig{
Brokers: []
func consume(ctx context.Context) {
// initialize a new reader with the brokers and topic
// the groupID identifies the consumer and prevents
// it from receiving duplicate messages
r := kafka.NewReader(kafka.ReaderConfig{
Brokers: []