Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Use correct request proto version
Browse files Browse the repository at this point in the history
  • Loading branch information
dim committed Mar 7, 2018
1 parent cf455bc commit 66a68d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,7 @@ func (c *Consumer) syncGroup(strategy *balancer) (map[string][]int32, error) {

for memberID, topics := range strategy.Perform(c.client.config.Group.PartitionStrategy) {
if err := req.AddGroupAssignmentMember(memberID, &sarama.ConsumerGroupMemberAssignment{
Version: 1,
Topics: topics,
Topics: topics,
}); err != nil {
return nil, err
}
Expand Down

0 comments on commit 66a68d7

Please sign in to comment.