[ https://issues.apache.org/jira/browse/KAFKA-19470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
terrytlu updated KAFKA-19470: ----------------------------- Attachment: image-2025-07-04-19-25-57-774.png > Avoid creating loggers repeatedly to affect the performance of request > processing > --------------------------------------------------------------------------------- > > Key: KAFKA-19470 > URL: https://issues.apache.org/jira/browse/KAFKA-19470 > Project: Kafka > Issue Type: Improvement > Components: core > Affects Versions: 2.8.2 > Reporter: terrytlu > Priority: Major > Attachments: 20250704-145553.html, image-2025-07-04-19-05-51-900.png, > image-2025-07-04-19-25-57-774.png > > > We see that the broker has a performance bottleneck when processing requests > in kafka 2.8.2 version. The CPU profiler is as follows: > !image-2025-07-04-19-05-51-900.png|width=1065,height=489! > seen in KAFKA-15141, the corresponding classes > IncrementalFetchContext/DelayedProduce/SessionlessFetchContext have been > processed, but I think a better approach should be to optimize the trait > Logging, we can introduce a static Map object to cache the duplicate loggers -- This message was sent by Atlassian Jira (v8.20.10#820010)