Skip to content

Commit

Permalink
CommitMessages method belongs to Reader not Message (segmentio#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandGouny authored and achille-roussel committed Jun 5, 2018
1 parent 44a19ca commit 536dc15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ for {
break
}
fmt.Printf("message at topic/partition/offset %v/%v/%v: %s = %s\n", m.Topic, m.Partition, m.Offset, string(m.Key), string(m.Value))
m.CommitMessages(ctx, m)
r.CommitMessages(ctx, m)
}
```

Expand Down

0 comments on commit 536dc15

Please sign in to comment.