2016-01-12 06:16:58 +08:00
|
|
|
/*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
* or more contributor license agreements. See the NOTICE file
|
|
|
|
* distributed with this work for additional information
|
|
|
|
* regarding copyright ownership. The ASF licenses this file
|
|
|
|
* to you under the Apache License, Version 2.0 (the
|
|
|
|
* "License"); you may not use this file except in compliance
|
|
|
|
* with the License. You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing,
|
|
|
|
* software distributed under the License is distributed on an
|
|
|
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
* KIND, either express or implied. See the License for the
|
|
|
|
* specific language governing permissions and limitations
|
|
|
|
* under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
ext {
|
|
|
|
versions = [:]
|
|
|
|
libs = [:]
|
|
|
|
}
|
|
|
|
|
2017-05-11 15:08:11 +08:00
|
|
|
// Add Scala version
|
2025-05-23 00:54:51 +08:00
|
|
|
def defaultScala213Version = '2.13.16'
|
2017-05-11 15:08:11 +08:00
|
|
|
if (hasProperty('scalaVersion')) {
|
2024-10-07 01:34:38 +08:00
|
|
|
if (scalaVersion == '2.13') {
|
2019-06-23 00:26:14 +08:00
|
|
|
versions["scala"] = defaultScala213Version
|
|
|
|
} else {
|
2017-05-11 15:08:11 +08:00
|
|
|
versions["scala"] = scalaVersion
|
|
|
|
}
|
|
|
|
} else {
|
2024-10-07 01:34:38 +08:00
|
|
|
versions["scala"] = defaultScala213Version
|
2017-05-11 15:08:11 +08:00
|
|
|
}
|
|
|
|
|
2019-06-23 00:26:14 +08:00
|
|
|
/* Resolve base Scala version according to these patterns:
|
2024-10-07 01:34:38 +08:00
|
|
|
1. generally available Scala versions (such as: 2.13.z) corresponding base versions will be: 2.13 (respectively)
|
2019-06-23 00:26:14 +08:00
|
|
|
2. pre-release Scala versions (i.e. milestone/rc, such as: 2.13.0-M5, 2.13.0-RC1, 2.14.0-M1, etc.) will have identical base versions;
|
|
|
|
rationale: pre-release Scala versions are not binary compatible with each other and that's the reason why libraries include the full
|
|
|
|
Scala release string in their name for pre-releases (see dependencies below with an artifact name suffix '_$versions.baseScala')
|
|
|
|
*/
|
|
|
|
if ( !versions.scala.contains('-') ) {
|
|
|
|
versions["baseScala"] = versions.scala.substring(0, versions.scala.lastIndexOf("."))
|
|
|
|
} else {
|
|
|
|
versions["baseScala"] = versions.scala
|
|
|
|
}
|
2017-05-11 15:08:11 +08:00
|
|
|
|
2023-06-01 17:17:54 +08:00
|
|
|
// When adding, removing or updating dependencies, please also update the LICENSE-binary file accordingly.
|
|
|
|
// See https://issues.apache.org/jira/browse/KAFKA-12622 for steps to verify the LICENSE-binary file is correct.
|
2016-01-12 06:16:58 +08:00
|
|
|
versions += [
|
2018-03-23 13:01:51 +08:00
|
|
|
activation: "1.1.1",
|
2018-06-07 15:28:07 +08:00
|
|
|
apacheda: "1.0.2",
|
2017-08-09 08:11:39 +08:00
|
|
|
apacheds: "2.0.0-M24",
|
2016-11-18 06:43:00 +08:00
|
|
|
argparse4j: "0.7.0",
|
2025-06-09 21:52:58 +08:00
|
|
|
bcpkix: "1.80",
|
|
|
|
caffeine: "3.2.0",
|
|
|
|
bndlib: "7.1.0",
|
2024-12-05 10:59:18 +08:00
|
|
|
checkstyle: project.hasProperty('checkstyleVersion') ? checkstyleVersion : "10.20.2",
|
2025-06-11 15:23:04 +08:00
|
|
|
commonsBeanutils: "1.11.0",
|
2024-09-01 13:15:18 +08:00
|
|
|
commonsValidator: "1.9.0",
|
2025-06-09 21:52:58 +08:00
|
|
|
classgraph: "4.8.179",
|
2025-05-27 18:04:58 +08:00
|
|
|
gradle: "8.14.1",
|
2021-12-08 01:24:43 +08:00
|
|
|
grgit: "4.1.1",
|
2023-05-12 17:47:50 +08:00
|
|
|
httpclient: "4.5.14",
|
2025-05-28 20:53:43 +08:00
|
|
|
jackson: "2.19.0",
|
2025-06-09 21:52:58 +08:00
|
|
|
jacoco: "0.8.13",
|
|
|
|
javassist: "3.30.2-GA",
|
|
|
|
jetty: "12.0.22",
|
|
|
|
jersey: "3.1.10",
|
|
|
|
jline: "3.30.4",
|
2023-09-24 21:01:28 +08:00
|
|
|
jmh: "1.37",
|
2025-06-09 21:52:58 +08:00
|
|
|
hamcrest: "3.0",
|
2024-06-03 21:48:49 +08:00
|
|
|
scalaLogging: "3.9.5",
|
2022-12-05 22:38:40 +08:00
|
|
|
jaxAnnotation: "1.3.2",
|
2023-05-12 17:47:50 +08:00
|
|
|
jaxb: "2.3.1",
|
2024-12-11 23:24:14 +08:00
|
|
|
jakartaRs: "3.1.0",
|
2024-12-15 04:30:54 +08:00
|
|
|
jakartaServletApi: "6.1.0",
|
2018-04-24 04:33:35 +08:00
|
|
|
jfreechart: "1.0.0",
|
2017-08-09 08:11:39 +08:00
|
|
|
jopt: "5.0.4",
|
2025-06-09 21:52:58 +08:00
|
|
|
jose4j: "0.9.6",
|
KAFKA-19382:Upgrade junit from 5.10 to 5.13 (#19919)
jira: https://issues.apache.org/jira/browse/KAFKA-19382
Upgrade junit from 5.10.2 to
[5.13.1](https://github.com/junit-team/junit5/releases).
A new behavior was introduced to junit 5.12
(https://github.com/junit-team/junit5/commit/89a46dfa10c6447ef010fbff7903bfcb3c18975a),
disallowing `ClusterTestExtensions` to generate empty invocation
contexts. However, `ClusterTestExtensions` is invoked by junit extension
so it could result in empty contexts for some tests.
```
> Configure project :
Starting build with version 4.1.0-SNAPSHOT (commit id c4a769bc) using
Gradle 8.14.1, Java 17 and Scala 2.13.16
Build properties: ignoreFailures=false, maxParallelForks=10,
maxScalacThreads=8, maxTestRetries=0
> Task :core:test kafka.api.ConsumerBounceTest.initializationError
failed, log available in
/Users/lansg/Project/OpenSource/kafka/kafka-fork/kafka/core/build/reports/testOutput/kafka.api.ConsumerBounceTest.initializationError.test.stdout
Gradle Test Run :core:test > Gradle Test Executor 5 > ConsumerBounceTest
> testCloseDuringRebalance(String) > initializationError FAILED
org.junit.platform.commons.PreconditionViolationException: Provider
[ClusterTestExtensions] did not provide any invocation contexts, but was
expected to do so. You may override
mayReturnZeroTestTemplateInvocationContexts() to allow this. at
java.base@17.0.13/java.util.ArrayList.forEach(ArrayList.java:1511) at
java.base@17.0.13/java.util.ArrayList.forEach(ArrayList.java:1511)
kafka.api.ConsumerBounceTest.initializationError failed, log available
in
/Users/lansg/Project/OpenSource/kafka/kafka-fork/kafka/core/build/reports/testOutput/kafka.api.ConsumerBounceTest.initializationError.test.stdout
```
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>, TengYao Chi
<frankvicky@apache.org>, Ken Huang <s7133700@gmail.com>
2025-06-10 15:35:30 +08:00
|
|
|
junit: "5.13.1",
|
2025-06-09 21:52:58 +08:00
|
|
|
jqwik: "1.9.2",
|
MINOR: Enable ignored upgrade system tests - trunk (#5605)
Removed ignore annotations from the upgrade tests. This PR includes the following changes for updating the upgrade tests:
* Uploaded new versions 0.10.2.2, 0.11.0.3, 1.0.2, 1.1.1, and 2.0.0 (in the associated scala versions) to kafka-packages
* Update versions in version.py, Dockerfile, base.sh
* Added new versions to StreamsUpgradeTest.test_upgrade_downgrade_brokers including version 2.0.0
* Added new versions StreamsUpgradeTest.test_simple_upgrade_downgrade test excluding version 2.0.0
* Version 2.0.0 is excluded from the streams upgrade/downgrade test as StreamsConfig needs an update for the new version, requiring a KIP. Once the community votes the KIP in, a minor follow-up PR can be pushed to add the 2.0.0 version to the upgrade test.
* Fixed minor bug in kafka-run-class.sh for classpath in upgrade/downgrade tests across versions.
* Follow on PRs for 0.10.2x, 0.11.0x, 1.0.x, 1.1.x, and 2.0.x will be pushed soon with the same updates required for the specific version.
Reviewers: Eno Thereska <eno.thereska@gmail.com>, John Roesler <vvcephei@users.noreply.github.com>, Guozhang Wang <wangguoz@gmail.com>, Matthias J. Sax <matthias@confluent.io>
2018-09-14 04:46:47 +08:00
|
|
|
kafka_0110: "0.11.0.3",
|
|
|
|
kafka_10: "1.0.2",
|
|
|
|
kafka_11: "1.1.1",
|
2019-01-07 15:03:54 +08:00
|
|
|
kafka_20: "2.0.1",
|
2019-05-31 03:50:30 +08:00
|
|
|
kafka_21: "2.1.1",
|
2019-12-07 05:44:56 +08:00
|
|
|
kafka_22: "2.2.2",
|
|
|
|
kafka_23: "2.3.1",
|
2020-03-31 00:55:35 +08:00
|
|
|
kafka_24: "2.4.1",
|
2020-08-12 04:18:33 +08:00
|
|
|
kafka_25: "2.5.1",
|
2023-12-16 05:07:03 +08:00
|
|
|
kafka_26: "2.6.3",
|
|
|
|
kafka_27: "2.7.2",
|
2022-09-11 23:20:07 +08:00
|
|
|
kafka_28: "2.8.2",
|
2022-09-19 19:43:40 +08:00
|
|
|
kafka_30: "3.0.2",
|
|
|
|
kafka_31: "3.1.2",
|
|
|
|
kafka_32: "3.2.3",
|
2023-11-10 04:03:12 +08:00
|
|
|
kafka_33: "3.3.2",
|
2023-07-12 16:11:44 +08:00
|
|
|
kafka_34: "3.4.1",
|
2024-01-12 22:55:10 +08:00
|
|
|
kafka_35: "3.5.2",
|
2024-04-05 22:06:23 +08:00
|
|
|
kafka_36: "3.6.2",
|
2024-12-17 01:49:03 +08:00
|
|
|
kafka_37: "3.7.2",
|
2024-10-31 01:00:37 +08:00
|
|
|
kafka_38: "3.8.1",
|
2025-05-21 14:09:00 +08:00
|
|
|
kafka_39: "3.9.1",
|
2025-03-18 23:56:53 +08:00
|
|
|
kafka_40: "4.0.0",
|
2025-03-07 01:11:29 +08:00
|
|
|
log4j2: "2.24.3",
|
2024-08-06 17:01:21 +08:00
|
|
|
// When updating lz4 make sure the compression levels in org.apache.kafka.common.record.CompressionType are still valid
|
2021-09-07 23:46:21 +08:00
|
|
|
lz4: "1.8.0",
|
2024-02-06 19:18:13 +08:00
|
|
|
mavenArtifact: "3.9.6",
|
2016-01-12 06:16:58 +08:00
|
|
|
metrics: "2.2.0",
|
2024-10-18 21:42:30 +08:00
|
|
|
mockito: "5.14.2",
|
2025-06-11 02:17:44 +08:00
|
|
|
opentelemetryProto: "1.3.2-alpha",
|
2024-10-10 07:34:26 +08:00
|
|
|
protobuf: "3.25.5", // a dependency of opentelemetryProto
|
2025-06-09 21:52:58 +08:00
|
|
|
pcollections: "4.0.2",
|
|
|
|
re2j: "1.8",
|
2025-01-09 18:55:56 +08:00
|
|
|
rocksDB: "9.7.3",
|
2022-09-12 22:05:15 +08:00
|
|
|
// When updating the scalafmt version please also update the version field in checkstyle/.scalafmt.conf. scalafmt now
|
|
|
|
// has the version field as mandatory in its configuration, see
|
|
|
|
// https://github.com/scalameta/scalafmt/releases/tag/v3.1.0.
|
2023-09-24 21:05:12 +08:00
|
|
|
scalafmt: "3.7.14",
|
2024-03-14 17:36:46 +08:00
|
|
|
scoverage: "2.0.11",
|
2022-03-31 02:54:01 +08:00
|
|
|
slf4j: "1.7.36",
|
2025-06-09 21:52:58 +08:00
|
|
|
snappy: "1.1.10.7",
|
2024-10-16 16:48:22 +08:00
|
|
|
spotbugs: "4.8.6",
|
2025-06-13 03:48:14 +08:00
|
|
|
mockOAuth2Server: "2.2.1",
|
2023-07-21 16:42:47 +08:00
|
|
|
zinc: "1.9.2",
|
2024-08-05 15:51:46 +08:00
|
|
|
// When updating the zstd version, please do as well in docker/native/native-image-configs/resource-config.json
|
2024-08-06 17:01:21 +08:00
|
|
|
// Also make sure the compression levels in org.apache.kafka.common.record.CompressionType are still valid
|
2025-04-21 14:13:41 +08:00
|
|
|
zstd: "1.5.6-10",
|
KAFKA-19382:Upgrade junit from 5.10 to 5.13 (#19919)
jira: https://issues.apache.org/jira/browse/KAFKA-19382
Upgrade junit from 5.10.2 to
[5.13.1](https://github.com/junit-team/junit5/releases).
A new behavior was introduced to junit 5.12
(https://github.com/junit-team/junit5/commit/89a46dfa10c6447ef010fbff7903bfcb3c18975a),
disallowing `ClusterTestExtensions` to generate empty invocation
contexts. However, `ClusterTestExtensions` is invoked by junit extension
so it could result in empty contexts for some tests.
```
> Configure project :
Starting build with version 4.1.0-SNAPSHOT (commit id c4a769bc) using
Gradle 8.14.1, Java 17 and Scala 2.13.16
Build properties: ignoreFailures=false, maxParallelForks=10,
maxScalacThreads=8, maxTestRetries=0
> Task :core:test kafka.api.ConsumerBounceTest.initializationError
failed, log available in
/Users/lansg/Project/OpenSource/kafka/kafka-fork/kafka/core/build/reports/testOutput/kafka.api.ConsumerBounceTest.initializationError.test.stdout
Gradle Test Run :core:test > Gradle Test Executor 5 > ConsumerBounceTest
> testCloseDuringRebalance(String) > initializationError FAILED
org.junit.platform.commons.PreconditionViolationException: Provider
[ClusterTestExtensions] did not provide any invocation contexts, but was
expected to do so. You may override
mayReturnZeroTestTemplateInvocationContexts() to allow this. at
java.base@17.0.13/java.util.ArrayList.forEach(ArrayList.java:1511) at
java.base@17.0.13/java.util.ArrayList.forEach(ArrayList.java:1511)
kafka.api.ConsumerBounceTest.initializationError failed, log available
in
/Users/lansg/Project/OpenSource/kafka/kafka-fork/kafka/core/build/reports/testOutput/kafka.api.ConsumerBounceTest.initializationError.test.stdout
```
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>, TengYao Chi
<frankvicky@apache.org>, Ken Huang <s7133700@gmail.com>
2025-06-10 15:35:30 +08:00
|
|
|
junitPlatform: "1.13.1",
|
KAFKA-17747: [2/N] Add compute topic and group hash (#19523)
* Add `com.dynatrace.hash4j:hash4j:0.22.0` to dependencies.
* Add `computeTopicHash` to `org.apache.kafka.coordinator.group.Utils`.
* If topic name is non-existent, return 0.
* If topic name is existent, use streaming XXH3 to compute topic hash
with magic byte, topic id, topic name, number of partitions, partition
id and sorted racks.
* Add `computeGroupHash` to `org.apache.kafka.coordinator.group.Utils`.
* If topic map is empty, return 0.
* If topic map is not empty, use streaming XXH3 to compute group
metadata hash with sorted topic hashes by topic names.
* Add related unit test.
Reviewers: Ismael Juma <ismael@juma.me.uk>, Chia-Ping Tsai <chia7712@gmail.com>, Sean Quah <squah@confluent.io>, David Jacot <djacot@confluent.io>
---------
Signed-off-by: PoAn Yang <payang@apache.org>
2025-05-15 16:48:45 +08:00
|
|
|
hdrHistogram: "2.2.2",
|
|
|
|
hash4j: "0.22.0"
|
2016-01-12 06:16:58 +08:00
|
|
|
]
|
2023-06-30 16:12:00 +08:00
|
|
|
|
2016-01-12 06:16:58 +08:00
|
|
|
libs += [
|
2018-03-23 13:01:51 +08:00
|
|
|
activation: "javax.activation:activation:$versions.activation",
|
2016-03-31 10:30:34 +08:00
|
|
|
apacheda: "org.apache.directory.api:api-all:$versions.apacheda",
|
|
|
|
apachedsCoreApi: "org.apache.directory.server:apacheds-core-api:$versions.apacheds",
|
|
|
|
apachedsInterceptorKerberos: "org.apache.directory.server:apacheds-interceptor-kerberos:$versions.apacheds",
|
|
|
|
apachedsProtocolShared: "org.apache.directory.server:apacheds-protocol-shared:$versions.apacheds",
|
|
|
|
apachedsProtocolKerberos: "org.apache.directory.server:apacheds-protocol-kerberos:$versions.apacheds",
|
|
|
|
apachedsProtocolLdap: "org.apache.directory.server:apacheds-protocol-ldap:$versions.apacheds",
|
|
|
|
apachedsLdifPartition: "org.apache.directory.server:apacheds-ldif-partition:$versions.apacheds",
|
|
|
|
apachedsMavibotPartition: "org.apache.directory.server:apacheds-mavibot-partition:$versions.apacheds",
|
|
|
|
apachedsJdbmPartition: "org.apache.directory.server:apacheds-jdbm-partition:$versions.apacheds",
|
2018-04-24 04:33:35 +08:00
|
|
|
argparse4j: "net.sourceforge.argparse4j:argparse4j:$versions.argparse4j",
|
2023-05-12 17:47:50 +08:00
|
|
|
bcpkix: "org.bouncycastle:bcpkix-jdk18on:$versions.bcpkix",
|
2024-12-14 01:14:31 +08:00
|
|
|
bndlib:"biz.aQute.bnd:biz.aQute.bndlib:$versions.bndlib",
|
2023-06-22 00:22:49 +08:00
|
|
|
caffeine: "com.github.ben-manes.caffeine:caffeine:$versions.caffeine",
|
2024-08-20 01:46:24 +08:00
|
|
|
classgraph: "io.github.classgraph:classgraph:$versions.classgraph",
|
2025-06-11 15:23:04 +08:00
|
|
|
commonsBeanutils: "commons-beanutils:commons-beanutils:$versions.commonsBeanutils",
|
2023-04-20 02:54:07 +08:00
|
|
|
commonsValidator: "commons-validator:commons-validator:$versions.commonsValidator",
|
2020-07-02 13:36:30 +08:00
|
|
|
jacksonAnnotations: "com.fasterxml.jackson.core:jackson-annotations:$versions.jackson",
|
2023-12-19 22:31:24 +08:00
|
|
|
jacksonDatabind: "com.fasterxml.jackson.core:jackson-databind:$versions.jackson",
|
2024-12-14 01:14:31 +08:00
|
|
|
jacksonDatabindYaml: "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:$versions.jackson",
|
2019-04-16 07:53:28 +08:00
|
|
|
jacksonDataformatCsv: "com.fasterxml.jackson.dataformat:jackson-dataformat-csv:$versions.jackson",
|
2018-11-28 04:49:53 +08:00
|
|
|
jacksonJDK8Datatypes: "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:$versions.jackson",
|
2024-11-21 21:52:45 +08:00
|
|
|
jacksonBlackbird: "com.fasterxml.jackson.module:jackson-module-blackbird:$versions.jackson",
|
2024-12-11 23:24:14 +08:00
|
|
|
jacksonJakartarsJsonProvider: "com.fasterxml.jackson.jakarta.rs:jackson-jakarta-rs-json-provider:$versions.jackson",
|
2022-12-05 22:38:40 +08:00
|
|
|
jaxAnnotationApi: "javax.annotation:javax.annotation-api:$versions.jaxAnnotation",
|
2018-03-23 13:01:51 +08:00
|
|
|
jaxbApi: "javax.xml.bind:jaxb-api:$versions.jaxb",
|
2024-12-11 23:24:14 +08:00
|
|
|
jakartaRsApi: "jakarta.ws.rs:jakarta.ws.rs-api:$versions.jakartaRs",
|
2024-12-15 04:30:54 +08:00
|
|
|
jakartaServletApi: "jakarta.servlet:jakarta.servlet-api:$versions.jakartaServletApi",
|
|
|
|
jaxrs2Jakarta: "io.swagger.core.v3:swagger-jaxrs2-jakarta:$swaggerVersion",
|
2021-02-24 02:47:53 +08:00
|
|
|
javassist: "org.javassist:javassist:$versions.javassist",
|
2016-01-12 06:16:58 +08:00
|
|
|
jettyServer: "org.eclipse.jetty:jetty-server:$versions.jetty",
|
2018-01-31 07:09:40 +08:00
|
|
|
jettyClient: "org.eclipse.jetty:jetty-client:$versions.jetty",
|
2024-12-11 23:24:14 +08:00
|
|
|
jettyServlet: "org.eclipse.jetty.ee10:jetty-ee10-servlet:$versions.jetty",
|
|
|
|
jettyServlets: "org.eclipse.jetty.ee10:jetty-ee10-servlets:$versions.jetty",
|
2016-01-12 06:16:58 +08:00
|
|
|
jerseyContainerServlet: "org.glassfish.jersey.containers:jersey-container-servlet:$versions.jersey",
|
2018-05-22 14:17:42 +08:00
|
|
|
jerseyHk2: "org.glassfish.jersey.inject:jersey-hk2:$versions.jersey",
|
2021-02-10 06:11:35 +08:00
|
|
|
jline: "org.jline:jline:$versions.jline",
|
2017-08-09 08:11:39 +08:00
|
|
|
jmhCore: "org.openjdk.jmh:jmh-core:$versions.jmh",
|
|
|
|
jmhCoreBenchmarks: "org.openjdk.jmh:jmh-core-benchmarks:$versions.jmh",
|
2018-04-07 08:00:52 +08:00
|
|
|
jmhGeneratorAnnProcess: "org.openjdk.jmh:jmh-generator-annprocess:$versions.jmh",
|
|
|
|
joptSimple: "net.sf.jopt-simple:jopt-simple:$versions.jopt",
|
2021-10-29 02:36:53 +08:00
|
|
|
jose4j: "org.bitbucket.b_c:jose4j:$versions.jose4j",
|
2020-09-11 07:14:38 +08:00
|
|
|
junitJupiter: "org.junit.jupiter:junit-jupiter:$versions.junit",
|
|
|
|
junitJupiterApi: "org.junit.jupiter:junit-jupiter-api:$versions.junit",
|
2024-07-06 06:39:11 +08:00
|
|
|
junitPlatformSuiteEngine: "org.junit.platform:junit-platform-suite-engine:$versions.junitPlatform",
|
|
|
|
junitPlatformLanucher: "org.junit.platform:junit-platform-launcher:$versions.junitPlatform",
|
2021-03-18 10:20:07 +08:00
|
|
|
jqwik: "net.jqwik:jqwik:$versions.jqwik",
|
2019-01-10 01:03:16 +08:00
|
|
|
hamcrest: "org.hamcrest:hamcrest:$versions.hamcrest",
|
2018-04-07 08:00:52 +08:00
|
|
|
kafkaStreams_0110: "org.apache.kafka:kafka-streams:$versions.kafka_0110",
|
|
|
|
kafkaStreams_10: "org.apache.kafka:kafka-streams:$versions.kafka_10",
|
2018-04-18 15:38:27 +08:00
|
|
|
kafkaStreams_11: "org.apache.kafka:kafka-streams:$versions.kafka_11",
|
MINOR: Enable ignored upgrade system tests - trunk (#5605)
Removed ignore annotations from the upgrade tests. This PR includes the following changes for updating the upgrade tests:
* Uploaded new versions 0.10.2.2, 0.11.0.3, 1.0.2, 1.1.1, and 2.0.0 (in the associated scala versions) to kafka-packages
* Update versions in version.py, Dockerfile, base.sh
* Added new versions to StreamsUpgradeTest.test_upgrade_downgrade_brokers including version 2.0.0
* Added new versions StreamsUpgradeTest.test_simple_upgrade_downgrade test excluding version 2.0.0
* Version 2.0.0 is excluded from the streams upgrade/downgrade test as StreamsConfig needs an update for the new version, requiring a KIP. Once the community votes the KIP in, a minor follow-up PR can be pushed to add the 2.0.0 version to the upgrade test.
* Fixed minor bug in kafka-run-class.sh for classpath in upgrade/downgrade tests across versions.
* Follow on PRs for 0.10.2x, 0.11.0x, 1.0.x, 1.1.x, and 2.0.x will be pushed soon with the same updates required for the specific version.
Reviewers: Eno Thereska <eno.thereska@gmail.com>, John Roesler <vvcephei@users.noreply.github.com>, Guozhang Wang <wangguoz@gmail.com>, Matthias J. Sax <matthias@confluent.io>
2018-09-14 04:46:47 +08:00
|
|
|
kafkaStreams_20: "org.apache.kafka:kafka-streams:$versions.kafka_20",
|
2019-01-07 15:03:54 +08:00
|
|
|
kafkaStreams_21: "org.apache.kafka:kafka-streams:$versions.kafka_21",
|
2019-06-04 12:09:58 +08:00
|
|
|
kafkaStreams_22: "org.apache.kafka:kafka-streams:$versions.kafka_22",
|
2019-08-22 01:26:57 +08:00
|
|
|
kafkaStreams_23: "org.apache.kafka:kafka-streams:$versions.kafka_23",
|
2019-12-21 06:21:12 +08:00
|
|
|
kafkaStreams_24: "org.apache.kafka:kafka-streams:$versions.kafka_24",
|
2020-04-16 06:59:03 +08:00
|
|
|
kafkaStreams_25: "org.apache.kafka:kafka-streams:$versions.kafka_25",
|
2020-08-05 07:04:52 +08:00
|
|
|
kafkaStreams_26: "org.apache.kafka:kafka-streams:$versions.kafka_26",
|
2020-12-22 00:52:49 +08:00
|
|
|
kafkaStreams_27: "org.apache.kafka:kafka-streams:$versions.kafka_27",
|
2021-08-05 06:31:10 +08:00
|
|
|
kafkaStreams_28: "org.apache.kafka:kafka-streams:$versions.kafka_28",
|
2022-01-22 04:30:56 +08:00
|
|
|
kafkaStreams_30: "org.apache.kafka:kafka-streams:$versions.kafka_30",
|
|
|
|
kafkaStreams_31: "org.apache.kafka:kafka-streams:$versions.kafka_31",
|
2022-06-21 22:33:40 +08:00
|
|
|
kafkaStreams_32: "org.apache.kafka:kafka-streams:$versions.kafka_32",
|
2023-01-10 15:37:05 +08:00
|
|
|
kafkaStreams_33: "org.apache.kafka:kafka-streams:$versions.kafka_33",
|
2023-07-12 16:11:44 +08:00
|
|
|
kafkaStreams_34: "org.apache.kafka:kafka-streams:$versions.kafka_34",
|
|
|
|
kafkaStreams_35: "org.apache.kafka:kafka-streams:$versions.kafka_35",
|
2023-10-08 07:59:06 +08:00
|
|
|
kafkaStreams_36: "org.apache.kafka:kafka-streams:$versions.kafka_36",
|
2024-02-27 16:58:48 +08:00
|
|
|
kafkaStreams_37: "org.apache.kafka:kafka-streams:$versions.kafka_37",
|
2024-07-30 15:19:48 +08:00
|
|
|
kafkaStreams_38: "org.apache.kafka:kafka-streams:$versions.kafka_38",
|
2024-11-15 21:58:24 +08:00
|
|
|
kafkaStreams_39: "org.apache.kafka:kafka-streams:$versions.kafka_39",
|
2025-03-18 23:56:53 +08:00
|
|
|
kafkaStreams_40: "org.apache.kafka:kafka-streams:$versions.kafka_40",
|
2024-12-14 01:14:31 +08:00
|
|
|
log4j1Bridge2Api: "org.apache.logging.log4j:log4j-1.2-api:$versions.log4j2",
|
|
|
|
log4j2Api: "org.apache.logging.log4j:log4j-api:$versions.log4j2",
|
|
|
|
log4j2Core: "org.apache.logging.log4j:log4j-core:$versions.log4j2",
|
2017-08-09 08:11:39 +08:00
|
|
|
lz4: "org.lz4:lz4-java:$versions.lz4",
|
2016-01-12 06:16:58 +08:00
|
|
|
metrics: "com.yammer.metrics:metrics-core:$versions.metrics",
|
2024-10-18 21:42:30 +08:00
|
|
|
mockitoCore: "org.mockito:mockito-core:$versions.mockito",
|
|
|
|
mockitoJunitJupiter: "org.mockito:mockito-junit-jupiter:$versions.mockito",
|
2023-04-18 05:52:28 +08:00
|
|
|
pcollections: "org.pcollections:pcollections:$versions.pcollections",
|
2023-11-02 12:53:24 +08:00
|
|
|
opentelemetryProto: "io.opentelemetry.proto:opentelemetry-proto:$versions.opentelemetryProto",
|
2024-10-10 07:34:26 +08:00
|
|
|
protobuf: "com.google.protobuf:protobuf-java:$versions.protobuf",
|
2024-10-30 23:20:11 +08:00
|
|
|
re2j: "com.google.re2j:re2j:$versions.re2j",
|
2016-01-12 06:16:58 +08:00
|
|
|
rocksDBJni: "org.rocksdb:rocksdbjni:$versions.rocksDB",
|
2017-12-23 02:41:22 +08:00
|
|
|
scalaLibrary: "org.scala-lang:scala-library:$versions.scala",
|
2018-04-07 08:00:52 +08:00
|
|
|
scalaLogging: "com.typesafe.scala-logging:scala-logging_$versions.baseScala:$versions.scalaLogging",
|
2017-12-23 02:41:22 +08:00
|
|
|
scalaReflect: "org.scala-lang:scala-reflect:$versions.scala",
|
2016-01-12 06:16:58 +08:00
|
|
|
slf4jApi: "org.slf4j:slf4j-api:$versions.slf4j",
|
2024-12-14 01:14:31 +08:00
|
|
|
slf4jLog4j2: "org.apache.logging.log4j:log4j-slf4j-impl:$versions.log4j2",
|
2016-01-12 06:16:58 +08:00
|
|
|
snappy: "org.xerial.snappy:snappy-java:$versions.snappy",
|
2024-12-14 01:14:31 +08:00
|
|
|
spotbugs: "com.github.spotbugs:spotbugs-annotations:$versions.spotbugs",
|
2023-10-09 18:30:46 +08:00
|
|
|
swaggerAnnotations: "io.swagger.core.v3:swagger-annotations:$swaggerVersion",
|
2025-06-13 03:48:14 +08:00
|
|
|
mockOAuth2Server: "no.nav.security:mock-oauth2-server:$versions.mockOAuth2Server",
|
2017-05-19 01:39:15 +08:00
|
|
|
jfreechart: "jfreechart:jfreechart:$versions.jfreechart",
|
2018-10-10 08:13:33 +08:00
|
|
|
mavenArtifact: "org.apache.maven:maven-artifact:$versions.mavenArtifact",
|
|
|
|
zstd: "com.github.luben:zstd-jni:$versions.zstd",
|
2024-08-23 19:53:22 +08:00
|
|
|
httpclient: "org.apache.httpcomponents:httpclient:$versions.httpclient",
|
KAFKA-17747: [2/N] Add compute topic and group hash (#19523)
* Add `com.dynatrace.hash4j:hash4j:0.22.0` to dependencies.
* Add `computeTopicHash` to `org.apache.kafka.coordinator.group.Utils`.
* If topic name is non-existent, return 0.
* If topic name is existent, use streaming XXH3 to compute topic hash
with magic byte, topic id, topic name, number of partitions, partition
id and sorted racks.
* Add `computeGroupHash` to `org.apache.kafka.coordinator.group.Utils`.
* If topic map is empty, return 0.
* If topic map is not empty, use streaming XXH3 to compute group
metadata hash with sorted topic hashes by topic names.
* Add related unit test.
Reviewers: Ismael Juma <ismael@juma.me.uk>, Chia-Ping Tsai <chia7712@gmail.com>, Sean Quah <squah@confluent.io>, David Jacot <djacot@confluent.io>
---------
Signed-off-by: PoAn Yang <payang@apache.org>
2025-05-15 16:48:45 +08:00
|
|
|
hdrHistogram: "org.hdrhistogram:HdrHistogram:$versions.hdrHistogram",
|
|
|
|
hash4j: "com.dynatrace.hash4j:hash4j:$versions.hash4j",
|
2016-01-12 06:16:58 +08:00
|
|
|
]
|