chore: add a log line for consume offset (#15098)

pull/15101/head
George Robinson 6 months ago committed by GitHub
parent 21135269ad
commit ed73a66dcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      pkg/kafka/partition/reader_service.go

@ -152,6 +152,7 @@ func (s *ReaderService) starting(ctx context.Context) error {
// Read from the next offset.
consumeOffset = lastCommittedOffset + 1
}
level.Debug(s.logger).Log("msg", "consuming from offset", "offset", consumeOffset)
s.reader.SetOffsetForConsumption(consumeOffset)
if targetLag, maxLag := s.cfg.TargetConsumerLagAtStartup, s.cfg.MaxConsumerLagAtStartup; targetLag > 0 && maxLag > 0 {

Loading…
Cancel
Save