From 9a57158d416f4f7392c8e1dee283dc26a8ad1d91 Mon Sep 17 00:00:00 2001 From: Patrick Assuied Date: Tue, 26 Nov 2024 11:04:05 -0800 Subject: [PATCH] Remove timing stat debug per PR feedback Signed-off-by: Patrick Assuied --- common/component/kafka/kafka.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/component/kafka/kafka.go b/common/component/kafka/kafka.go index 515c8e9d12..c4d9989fb2 100644 --- a/common/component/kafka/kafka.go +++ b/common/component/kafka/kafka.go @@ -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()