Commit 45c9c15e authored by vicotor's avatar vicotor

update code

parent 3fde79b9
...@@ -99,7 +99,7 @@ func (n *Node) attachKafkaConsumer(ctx context.Context, taskCh chan *odysseus.Ta ...@@ -99,7 +99,7 @@ func (n *Node) attachKafkaConsumer(ctx context.Context, taskCh chan *odysseus.Ta
// split broker to list // split broker to list
brokers := strings.Split(n.conf.Kafka.Brokers, ";") brokers := strings.Split(n.conf.Kafka.Brokers, ";")
client, err := sarama.NewConsumerGroup(brokers, "group", config) client, err := sarama.NewConsumerGroup(brokers, "test", config)
if err != nil { if err != nil {
log.WithError(err).Error("creating consumer group client failed") log.WithError(err).Error("creating consumer group client failed")
return nil, err return nil, err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment