You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "serhiy-bzhezytskyy (via GitHub)" <gi...@apache.org> on 2026/08/12 16:35:20 UTC
[PR] MINOR: Upgrade gradle to 9.7.0 [kafka]
serhiy-bzhezytskyy opened a new pull request, #23142:
URL: https://github.com/apache/kafka/pull/23142
Update Gradle from 9.6.1 to 9.7.0, including the wrapper distribution
checksum and Kafka's wrapper JAR checksum references.
Followed the procedure in `gradle/wrapper/README.md`:
- `gradle/dependencies.gradle` — gradle version
- `wrapper.gradle` — `wrapperChecksum`
- `gradle/wrapper/gradle-wrapper.properties` and `gradlew` regenerated with
`./gradlew wrapper --gradle-version 9.7.0 --distribution-type bin --gradle-distribution-sha256-sum <checksum>`
Checksums are the published ones from https://gradle.org/release-checksums/:
binary distribution `84fbba45…873ae`, wrapper JAR `7a9ce74c…62c5d`.
The regenerated `gradle-wrapper.properties` also picks up `retries=0` and
`retryBackOffMs=500`. Those are the `WrapperConfiguration` defaults which
9.7.0 now writes out explicitly, so behaviour is unchanged.
## Verified locally with Gradle 9.7.0
- `./gradlew --version` reports Gradle 9.7.0
Compile and artifacts
- `./gradlew compileJava compileTestJava`
- `./gradlew jar`
- `./gradlew srcJar`
- `./gradlew testJar`
- `./gradlew docsJar`
Generated messages
- `./gradlew processMessages processTestMessages`
Javadoc and scaladoc
- `./gradlew javadoc javadocJar`
- `./gradlew scaladoc scaladocJar`
- `./gradlew aggregatedJavadoc --no-parallel`
Code quality
- `./gradlew clients:checkstyleMain clients:checkstyleTest clients:spotlessCheck`
- `./gradlew clients:spotbugsMain -x test`
Tests and publishing
- `./gradlew clients:test --tests RequestResponseTest`
- `./gradlew -PskipSigning=true publishToMavenLocal`
The build reports "Deprecated Gradle features were used in this build,
making it incompatible with Gradle 10." I ran the same tasks on 9.6.1 and
the set of reported deprecations is identical, so this is pre-existing and
not introduced here.
I did not run `releaseTarGz`, the full test suite, or the system tests
locally; leaving those to CI.
Following the `MINOR:` form used for the 9.6.1 bump in #23015, so no JIRA.
@dejan2609 you have been driving the Gradle and build-tooling updates
lately, so flagging this in case it overlaps with anything you have in
flight. @Parkerhiphop this follows your #23015 directly.
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Upgrade gradle to 9.7.0 [kafka]
Posted by "dejan2609 (via GitHub)" <gi...@apache.org>.
dejan2609 commented on PR #23142:
URL: https://github.com/apache/kafka/pull/23142#issuecomment-5345789105
:information_source: @serhiy-bzhezytskyy https://github.com/gradle/gradle/releases/tag/v9.7.1
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Upgrade gradle to 9.7.0 [kafka]
Posted by "dejan2609 (via GitHub)" <gi...@apache.org>.
dejan2609 commented on PR #23142:
URL: https://github.com/apache/kafka/pull/23142#issuecomment-5302274834
Two new entries in `gradle/wrapper/gradle-wrapper.properties` are completely legit (they are introduced since Gradle version 9.5.0):
```
retries=0
retryBackOffMs=500
```
Related links:
- https://github.com/gradle/gradle/pull/36556/changes/3b76aaaf39ba5564c7989f17a40937a0e2bb2eaf Add retries and timeout for gradle download
- https://github.com/gradle/gradle/pull/37261/changes/f9ea3b1df83ec86097e92e6aa70630352e52ff9d Rename 'retryTimeoutMs' to "retryBackOffMs"
- https://docs.gradle.org/9.7.0/userguide/gradle_wrapper.html#sec:configuring_wrapper_retries
- https://docs.gradle.org/9.7.0/javadoc/org/gradle/api/tasks/wrapper/Wrapper.html#getRetries()
I did some testing:
- Kafka distribution created using `./gradlew releaseTarGz`
- cluster started, events written into topic, events being read -->> everything works fine :heavy_check_mark: (test scenario: https://kafka.apache.org/quickstart)
@serhiy-bzhezytskyy :bulb: Hint: bump Gradle version to 9.7.1 that will be released in a next few days: https://github.com/gradle/gradle/milestone/352?closed=1
Overall: LGTM (non-binding) :white_check_mark:
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Upgrade gradle to 9.7.0 [kafka]
Posted by "Parkerhiphop (via GitHub)" <gi...@apache.org>.
Parkerhiphop commented on PR #23142:
URL: https://github.com/apache/kafka/pull/23142#issuecomment-5278088301
@serhiy-bzhezytskyy Thanks for the update. The current failures look like flaky tests.
I agree with @dejan2609 that you can sync with trunk and push a merge commit to re-trigger the CI.
That's usually how I handle these CI failures too.
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Upgrade gradle to 9.7.1 [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 merged PR #23142:
URL: https://github.com/apache/kafka/pull/23142
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Upgrade gradle to 9.7.0 [kafka]
Posted by "dejan2609 (via GitHub)" <gi...@apache.org>.
dejan2609 commented on PR #23142:
URL: https://github.com/apache/kafka/pull/23142#issuecomment-5272894641
Thank for noticing my work @serhiy-bzhezytskyy !
At the moment I have three pending Gradle related PR's but none of them depends on specific Gradle version.
All-in-all: go for it.
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Upgrade gradle to 9.7.1 [kafka]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23142:
URL: https://github.com/apache/kafka/pull/23142#issuecomment-5350950629
A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the `triage` label
should be removed to prevent this automation from happening again.
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Upgrade gradle to 9.7.0 [kafka]
Posted by "serhiy-bzhezytskyy (via GitHub)" <gi...@apache.org>.
serhiy-bzhezytskyy commented on PR #23142:
URL: https://github.com/apache/kafka/pull/23142#issuecomment-5277066936
Thanks @dejan2609!
`build / JUnit tests Java 17 (new)` failed without running any tests — the job died fetching the Gradle distribution:
```
Attempt 1/1 failed. Reason: Unexpected end of file from server
Exception in thread "main" java.net.SocketException: Unexpected end of file from server
...
0 PASSED ✅, 0 FAILED ❌, 0 FLAKY ⚠️ , 0 SKIPPED 🙈, 0 QUARANTINED 😷, and 0 errors.
```
The exit code then comes from `Parse JUnit tests`, which had no results to read. The three sibling jobs on the same run (Java 17 flaky, Java 25 new, Java 25 flaky) passed.
The distribution itself is fine — I fetched `gradle-9.7.0-bin.zip` three times just now: 150,308,896 bytes each, sha256 `84fbba45…873ae`, matching the published checksum.
Could someone re-run the failed job when convenient?
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Upgrade gradle to 9.7.0 [kafka]
Posted by "serhiy-bzhezytskyy (via GitHub)" <gi...@apache.org>.
serhiy-bzhezytskyy commented on PR #23142:
URL: https://github.com/apache/kafka/pull/23142#issuecomment-5317287885
@dejan2609 thanks a lot — that matches the 9.5.0 changelog.
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Upgrade gradle to 9.7.0 [kafka]
Posted by "dejan2609 (via GitHub)" <gi...@apache.org>.
dejan2609 commented on PR #23142:
URL: https://github.com/apache/kafka/pull/23142#issuecomment-5277977413
>Could someone re-run the failed job when convenient?
@serhiy-bzhezytskyy
Small hint: just rebase PR branch onto current trunk (or ammend commit without changing anything) and GitHub Actions will execute all jobs 💡
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Upgrade gradle to 9.7.0 [kafka]
Posted by "serhiy-bzhezytskyy (via GitHub)" <gi...@apache.org>.
serhiy-bzhezytskyy commented on PR #23142:
URL: https://github.com/apache/kafka/pull/23142#issuecomment-5317374300
@chia7712 @m1a2st this is the same shape as #23015 — all 18 checks are green, and @dejan2609 confirmed above that the two new `gradle-wrapper.properties` entries ship with Gradle 9.5.0.
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Upgrade gradle to 9.7.1 [kafka]
Posted by "serhiy-bzhezytskyy (via GitHub)" <gi...@apache.org>.
serhiy-bzhezytskyy commented on PR #23142:
URL: https://github.com/apache/kafka/pull/23142#issuecomment-5347309355
Thank you so much for letting me know! Strange that I didn't get an email from them about the release.
Bumped to 9.7.1 in this same PR and re-ran the full local checklist under it -- all green.
AI-assisted (Claude Sonnet 5)
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org