Skip to content

Commit

Permalink
feat: change the default consumer session timeout to 30 seconds (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhck authored Oct 10, 2024
1 parent 9c742d7 commit 283ac99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (s Kafka) WithDefaults() Kafka {
SecurityProtocol: s.SecurityProtocol,
Username: s.Username,
Password: s.Password,
ConsumerSessionTimeoutMs: defaultIfNil(s.ConsumerSessionTimeoutMs, 6000),
ConsumerSessionTimeoutMs: defaultIfNil(s.ConsumerSessionTimeoutMs, 30000),
ConsumerAutoOffsetReset: defaultIfNil(s.ConsumerAutoOffsetReset, "earliest"),
ClientID: defaultIfNil(s.ClientID, "rdkafka"),
Debug: s.Debug,
Expand Down

0 comments on commit 283ac99

Please sign in to comment.