Skip to content

Commit

Permalink
fix offset commit bug (segmentio#424)
Browse files Browse the repository at this point in the history
Co-authored-by: liuzhiqing <liuzhiqing@taou.com>
  • Loading branch information
718529333 and liuzhiqing authored Apr 6, 2020
1 parent efce7b6 commit c0cc0f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumergroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const (

// defaultRetentionTime holds the length of time a the consumer group will be
// saved by kafka. This value tells the broker to use its configured value.
defaultRetentionTime = -1
defaultRetentionTime = -1 * time.Millisecond

// defaultPartitionWatchTime contains the amount of time the kafka-go will wait to
// query the brokers looking for partition changes.
Expand Down

0 comments on commit c0cc0f5

Please sign in to comment.