mirror of https://github.com/apache/kafka.git
MINOR: Run CI with Java 24 and update documentation (instead of 23)
This commit is contained in:
parent
a5325e029e
commit
811e406074
|
@ -127,7 +127,7 @@ jobs:
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: ./.github/actions/setup-gradle
|
uses: ./.github/actions/setup-gradle
|
||||||
with:
|
with:
|
||||||
java-version: 23
|
java-version: 24
|
||||||
gradle-cache-read-only: ${{ !inputs.is-trunk }}
|
gradle-cache-read-only: ${{ !inputs.is-trunk }}
|
||||||
gradle-cache-write-only: ${{ inputs.is-trunk }}
|
gradle-cache-write-only: ${{ inputs.is-trunk }}
|
||||||
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
||||||
|
@ -181,7 +181,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
# If we change these, make sure to adjust ci-complete.yml
|
# If we change these, make sure to adjust ci-complete.yml
|
||||||
java: [ 23, 17 ]
|
java: [ 24, 17 ]
|
||||||
run-flaky: [ true, false ]
|
run-flaky: [ true, false ]
|
||||||
run-new: [ true, false ]
|
run-new: [ true, false ]
|
||||||
exclude:
|
exclude:
|
||||||
|
@ -270,7 +270,7 @@ jobs:
|
||||||
python .github/scripts/junit.py \
|
python .github/scripts/junit.py \
|
||||||
--path build/junit-xml >> $GITHUB_STEP_SUMMARY
|
--path build/junit-xml >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
# This job downloads all the JUnit XML files and thread dumps from the JDK 23 test runs.
|
# This job downloads all the JUnit XML files and thread dumps from the JDK 24 test runs.
|
||||||
# If any test job fails, we will not run this job. Also, if any thread dump artifacts
|
# If any test job fails, we will not run this job. Also, if any thread dump artifacts
|
||||||
# are present, this means there was a timeout in the tests and so we will not proceed
|
# are present, this means there was a timeout in the tests and so we will not proceed
|
||||||
# with catalog creation.
|
# with catalog creation.
|
||||||
|
@ -288,7 +288,7 @@ jobs:
|
||||||
- name: Download Thread Dumps
|
- name: Download Thread Dumps
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
pattern: junit-thread-dumps-23-*
|
pattern: junit-thread-dumps-24-*
|
||||||
path: thread-dumps
|
path: thread-dumps
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
- name: Check For Thread Dump
|
- name: Check For Thread Dump
|
||||||
|
@ -302,7 +302,7 @@ jobs:
|
||||||
- name: Download JUnit XMLs
|
- name: Download JUnit XMLs
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
pattern: junit-xml-23-* # Only look at JDK 23 tests for the test catalog
|
pattern: junit-xml-24-* # Only look at JDK 24 tests for the test catalog
|
||||||
path: junit-xml
|
path: junit-xml
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
- name: Collate Test Catalog
|
- name: Collate Test Catalog
|
||||||
|
|
|
@ -44,7 +44,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
# Make sure these match build.yml
|
# Make sure these match build.yml
|
||||||
java: [ 23, 17 ]
|
java: [ 24, 17 ]
|
||||||
run-flaky: [ true, false ]
|
run-flaky: [ true, false ]
|
||||||
run-new: [ true, false ]
|
run-new: [ true, false ]
|
||||||
exclude:
|
exclude:
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
You need to have [Java](http://www.oracle.com/technetwork/java/javase/downloads/index.html) installed.
|
You need to have [Java](http://www.oracle.com/technetwork/java/javase/downloads/index.html) installed.
|
||||||
|
|
||||||
We build and test Apache Kafka with 17 and 23. The `release` parameter in javac is set to `11` for the clients
|
We build and test Apache Kafka with 17 and 24. The `release` parameter in javac is set to `11` for the clients
|
||||||
and streams modules, and `17` for the rest, ensuring compatibility with their respective
|
and streams modules, and `17` for the rest, ensuring compatibility with their respective
|
||||||
minimum Java versions. Similarly, the `release` parameter in scalac is set to `11` for the streams modules and `17`
|
minimum Java versions. Similarly, the `release` parameter in scalac is set to `11` for the streams modules and `17`
|
||||||
for the rest.
|
for the rest.
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<th>Kafka Version</th>
|
<th>Kafka Version</th>
|
||||||
<th>Java 11</th>
|
<th>Java 11</th>
|
||||||
<th>Java 17</th>
|
<th>Java 17</th>
|
||||||
<th>Java 23</th>
|
<th>Java 24</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Clients</td>
|
<td>Clients</td>
|
||||||
|
@ -198,4 +198,4 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--#include virtual="../../includes/_footer.htm" -->
|
<!--#include virtual="../../includes/_footer.htm" -->
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue