Skip to content

Commit

Permalink
Merge pull request #2345 from Shopify/dnwe/fix-default
Browse files Browse the repository at this point in the history
fix(consumer): default ResetInvalidOffsets to true
  • Loading branch information
dnwe authored Sep 27, 2022
2 parents 338bf4f + d2ee3e1 commit b6728ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ func NewConfig() *Config {
c.Consumer.Group.Rebalance.Timeout = 60 * time.Second
c.Consumer.Group.Rebalance.Retry.Max = 4
c.Consumer.Group.Rebalance.Retry.Backoff = 2 * time.Second
c.Consumer.Group.ResetInvalidOffsets = false
c.Consumer.Group.ResetInvalidOffsets = true

c.ClientID = defaultClientID
c.ChannelBufferSize = 256
Expand Down

0 comments on commit b6728ba

Please sign in to comment.