gaurav-narula commented on code in PR #13949: URL: https://github.com/apache/kafka/pull/13949#discussion_r1263146221
########## core/src/main/scala/kafka/server/DelayedProduce.scala: ########## @@ -58,6 +62,8 @@ class DelayedProduce(delayMs: Long, lockOpt: Option[Lock] = None) extends DelayedOperation(delayMs, lockOpt) { + override lazy val logger = DelayedProduce.logger Review Comment: @ijuma Wonder if you got a chance to revisit this? I've also found some [precedent](https://github.com/apache/kafka/blob/959f9ca4c02817cce85f0375d431ed72f22699e2/core/src/main/scala/kafka/controller/StateChangeLogger.scala#L37) where a `lazy val` is used for overriding the logger. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org