Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about sarama

Read more about sarama

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - sarama

How to add consumerGroup for a topic in kafka using Shopify/sarama golang library?

In the sarama library there is an option to initialize NewConsumerGroup but how to hook it hook i t up to NewConumer?
test-img

Sarthak Jha

go

apache-kafka

kafka-consumer-api

sarama

Votes: 0

Answers: 1

Latest Answer

NewConsumerGroup creates its own Consumer, so there's nothing for you to hook it to Source: https://github.com/Shopify/sarama/blob/main/consumer_group.go#L105
test-img

OneCricketeer

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved