Hello, we've observed significant performance degradation on using kafka (4.2.0) with kafka-clients 3.9.2 and 4.X.X
Kafka-clients: 3.9.2 Kafka perf run completed for mode DIRECT: PerfRunResult[requestedCount=10000, repliedCount=10000, timeoutCount=0, totalDurationMs=*31669*, averageRoundTripMs=3.0808, maxRoundTripMs=99] Kafka-clients: 4.1.1 Kafka perf run completed for mode DIRECT: PerfRunResult[requestedCount=10000, repliedCount=10000, timeoutCount=0, totalDurationMs=*167634*, averageRoundTripMs=16.6516, maxRoundTripMs=140] Kafka-clients: 4.2.0 Kafka perf run completed for mode DIRECT: PerfRunResult[requestedCount=10000, repliedCount=10000, timeoutCount=0, totalDurationMs=*129510*, averageRoundTripMs=12.8591, maxRoundTripMs=68] I though it was relared with spring-kafka but after additional tests (without spring usage), we've confirmed this is related to the kafka-clients and we got the same confirmation from spring developers. Spring-kafka issue for the information: https://github.com/spring-projects/spring-kafka/issues/4358 Project used for tests: https://github.com/infoShare/spring-kafka-perf Best regards, Tomasz Forys
