[ https://issues.apache.org/jira/browse/KAFKA-15402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17758662#comment-17758662 ]
Benoit Delbosc commented on KAFKA-15402: ---------------------------------------- flamegraph are not pointing obvious bottleneck for me, the consumer poll is a slower and different, not sure if it explain alone the 10s additional seconds. Kafka client 3.4.1 (kafka server 2.6.0): !image-2023-08-24-18-51-21-720.png! vs Kafka client 3.5.1 (Kafka server 2.6.0) no code change except upgrading the kafka-clients artifacts) !image-2023-08-24-18-51-57-435.png! > Performance Regression after Upgrading to 3.5.0 > ----------------------------------------------- > > Key: KAFKA-15402 > URL: https://issues.apache.org/jira/browse/KAFKA-15402 > Project: Kafka > Issue Type: Bug > Components: consumer, producer > Affects Versions: 3.5.0, 3.5.1 > Reporter: Benoit Delbosc > Priority: Major > Attachments: image-2023-08-24-18-51-21-720.png, > image-2023-08-24-18-51-57-435.png > > > Hi, > After upgrading to Kafka client version 3.5.0, we have observed a significant > increase in the duration of our Java unit tests. These unit tests heavily > rely on the Kafka Admin, Producer, and Consumer API. > When using Kafka server version 3.4.1, the duration of the unit tests > increased from 8 seconds (with Kafka client 3.4.1) to 18 seconds (with Kafka > client 3.5.0). > Similarly, when using Kafka server version 3.5.1, the duration of the unit > tests increased from 16 seconds (with Kafka client 3.4.1) to 25 seconds (with > Kafka client 3.5.0). > The performance regression is observed when either the client or server is > upgraded to version 3.5.0 (or 3.5.1). > I have come across the issue KAFKA-15178, which could be the culprit. I will > attempt to test the proposed patch. > In the meantime, if you have any ideas that could help identify and address > the regression, please let me know. -- This message was sent by Atlassian Jira (v8.20.10#820010)