Skip to content

Commit

Permalink
fix: remove dist tracing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdulsametileri committed Jan 2, 2024
1 parent b34a942 commit f5d385a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions consumer_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ func (cfg *ConsumerConfig) newKafkaReader() (Reader, error) {

reader := kafka.NewReader(readerCfg)

// if cfg.DistributedTracingEnabled {
// return NewOtelReaderWrapper(cfg, reader)
//}
if cfg.DistributedTracingEnabled {
return NewOtelReaderWrapper(cfg, reader)
}

return NewReaderWrapper(reader), nil
}
Expand Down

0 comments on commit f5d385a

Please sign in to comment.