Dear Kafka Developers,

I hope you are doing well.

I am currently trying to build Apache Kafka from source and am encountering
issues during the build process. I am following the instructions provided
in the README file from the official repository, but the build is failing
despite adhering to the documented steps.

Environment details:

   -

   OS: macOS Tahoe 26.3
   -

   Java version: 17
   -

   Gradle version (if applicable): 9.2.1
   -

   Command used to build: ./gradlew build
   -

   Error message (full stack trace attached below):

    Run :core:test > Gradle Test Executor 55 > UserQuotaTest >
   testThrottledRequest(String) >
   testThrottledRequest(String).groupProtocol=consumer FAILED
       org.opentest4j.AssertionFailedError: Should have been throttled ==>
   expected: <true> but was: <false>
           at
   app//kafka.api.BaseQuotaTest.testThrottledRequest(BaseQuotaTest.scala:190)
           at [email protected]
   /java.lang.reflect.Method.invoke(Method.java:569)
           at [email protected]
   /java.util.Optional.ifPresent(Optional.java:178)
           at [email protected]
   /java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
           at [email protected]
   /java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
           at [email protected]
   /java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
           at [email protected]
   /java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
           at [email protected]
   /java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
           at [email protected]
   
/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)

There are lot more test cases which are failed, above one is one of them

I have ensured that the required Java version is installed and that the
environment variables are configured correctly. However, I am still unable
to complete the build successfully.

Could someone please guide me on what I might be missing or suggest steps
to debug this further?

Thank you for your time and assistance.

Best regards,
Mahesh Sambaram

Reply via email to