dejan2609 commented on PR #20866: URL: https://github.com/apache/kafka/pull/20866#issuecomment-3729462271
Hi @clolov and thanks for a review/comment ! You are rasing some valid questions here. But first: can you please share your environment details (thing is that Gradle build task `:jmh-benchmarks:shadowJar` works just fine on my end): ``` dejan@box:~/kafka$ date Fri 9 Jan 16:24:51 CET 2026 dejan@box:~/kafka$ uname -r 6.8.0-90-generic dejan@box:~/kafka$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04.3 LTS Release: 24.04 Codename: noble dejan@box:~/kafka$ java -version openjdk version "25.0.1" 2025-10-21 LTS OpenJDK Runtime Environment Temurin-25.0.1+8 (build 25.0.1+8-LTS) OpenJDK 64-Bit Server VM Temurin-25.0.1+8 (build 25.0.1+8-LTS, mixed mode, sharing) dejan@box:~/kafka$ git log -2 --oneline 70dac31e9f (HEAD -> KAFKA-19761, origin/KAFKA-19761) KAFKA-19761 Gradle Shadow plugin version upgrade: 8.3.9 -->> 9.3.1 2f90af70ee (upstream/trunk, upstream/HEAD, origin/trunk, origin/HEAD, trunk) MINOR: Remove onPartitionsDeleted from GroupCoordinator interface (#21263) dejan@box:~/kafka$ ./gradlew clean :jmh-benchmarks:shadowJar -q Starting build with version 4.3.0-SNAPSHOT (commit id 70dac31e) using Gradle 9.2.1, Java 25 and Scala 2.13.18 Build properties: ignoreFailures=false, maxParallelForks=8, maxScalacThreads=8, maxTestRetries=0 MessageGenerator: processed 1 Kafka message JSON file(s). MessageGenerator: processed 1 Kafka message JSON file(s). MessageGenerator: processed 5 Kafka message JSON file(s). MessageGenerator: processed 4 Kafka message JSON file(s). MessageGenerator: processed 2 Kafka message JSON file(s). MessageGenerator: processed 26 Kafka message JSON file(s). MessageGenerator: processed 44 Kafka message JSON file(s). MessageGenerator: processed 197 Kafka message JSON file(s). MessageGenerator: processed 5 Kafka message JSON file(s). WARNING: A terminally deprecated method in sun.misc.Unsafe has been called WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by net.openhft.hashing.UnsafeAccess (file:/home/dejan/.gradle/caches/modules-2/files-2.1/net.openhft/zero-allocation-hashing/0.16/ca252f328160ed5d027f100a4fe525d6d21daaf/zero-allocation-hashing-0.16.jar) WARNING: Please consider reporting this to the maintainers of class net.openhft.hashing.UnsafeAccess WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /home/dejan/kafka/coordinator-common/src/test/java/org/apache/kafka/coordinator/common/runtime/CoordinatorRuntimeTest.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: /home/dejan/kafka/group-coordinator/src/test/java/org/apache/kafka/coordinator/group/streams/StreamsGroupTest.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. dejan@box:~/kafka$ sdk use java 17.0.17-tem Using java version 17.0.17-tem in this shell. dejan@box:~/kafka$ java -version openjdk version "17.0.17" 2025-10-21 OpenJDK Runtime Environment Temurin-17.0.17+10 (build 17.0.17+10) OpenJDK 64-Bit Server VM Temurin-17.0.17+10 (build 17.0.17+10, mixed mode, sharing) dejan@box:~/kafka$ ./gradlew clean :jmh-benchmarks:shadowJar -q Starting build with version 4.3.0-SNAPSHOT (commit id 70dac31e) using Gradle 9.2.1, Java 17 and Scala 2.13.18 Build properties: ignoreFailures=false, maxParallelForks=8, maxScalacThreads=8, maxTestRetries=0 MessageGenerator: processed 4 Kafka message JSON file(s). MessageGenerator: processed 1 Kafka message JSON file(s). MessageGenerator: processed 5 Kafka message JSON file(s). MessageGenerator: processed 2 Kafka message JSON file(s). MessageGenerator: processed 1 Kafka message JSON file(s). MessageGenerator: processed 26 Kafka message JSON file(s). MessageGenerator: processed 44 Kafka message JSON file(s). MessageGenerator: processed 197 Kafka message JSON file(s). MessageGenerator: processed 5 Kafka message JSON file(s). Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /home/dejan/kafka/coordinator-common/src/test/java/org/apache/kafka/coordinator/common/runtime/CoordinatorRuntimeTest.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: /home/dejan/kafka/group-coordinator/src/test/java/org/apache/kafka/coordinator/group/streams/StreamsGroupTest.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. dejan@box:~/kafka$ date Fri 9 Jan 16:38:25 CET 2026 dejan@box:~/kafka$ ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
