Skip to content

Commit

Permalink
Merge pull request IBM#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 and remicalixte committed Apr 27, 2023
1 parent 4ddb792 commit e3bb312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Expand Up @@ -502,7 +502,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 e3bb312

Please sign in to comment.