Skip to content

Commit

Permalink
fix: use newConsumer method in newConsumerGroup method (#2424)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumotheninja committed Jan 20, 2023
1 parent 871b1b1 commit 6acb276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func newConsumerGroup(groupID string, client Client) (ConsumerGroup, error) {
return nil, ConfigurationError("consumer groups require Version to be >= V0_10_2_0")
}

consumer, err := NewConsumerFromClient(client)
consumer, err := newConsumer(client)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 6acb276

Please sign in to comment.