Skip to content

Commit

Permalink
Remove timing stat debug per PR feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Assuied <[email protected]>
  • Loading branch information
passuied committed Nov 26, 2024
1 parent e6c2d4b commit 9a57158
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions common/component/kafka/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,12 +316,6 @@ func (k *Kafka) getLatestSchema(topic string) (*srclient.Schema, *goavro.Codec,
return nil, nil, err
}

// measure the time taken to get the schema
start := time.Now()
defer func() {
k.logger.Debugf("Time taken to get latest schema for topic %s: %v", topic, time.Since(start))
}()

subject := getSchemaSubject(topic)
if k.schemaCachingEnabled {
k.latestSchemaCacheReadLock.Lock()
Expand Down

0 comments on commit 9a57158

Please sign in to comment.