Skip to content

Commit

Permalink
ReaderConfig.RetentionTime usage (segmentio#341)
Browse files Browse the repository at this point in the history
Using RetentionTime from ReaderConfig on create NewConsumerGroup
  • Loading branch information
letum authored and Steve van Loben Sels committed Aug 26, 2019
1 parent 8724c87 commit 531c50b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ func NewReader(config ReaderConfig) *Reader {
SessionTimeout: r.config.SessionTimeout,
RebalanceTimeout: r.config.RebalanceTimeout,
JoinGroupBackoff: r.config.JoinGroupBackoff,
RetentionTime: r.config.RetentionTime,
StartOffset: r.config.StartOffset,
Logger: r.config.Logger,
ErrorLogger: r.config.ErrorLogger,
Expand Down

0 comments on commit 531c50b

Please sign in to comment.