Kafka 4.1 requires java 11 (#14575)

This commit is contained in:
Lauri Tulmin 2025-09-03 09:46:24 +03:00 committed by GitHub
parent 3998e96c75
commit 900e6e55f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

View File

@ -66,3 +66,12 @@ tasks {
dependsOn(testPropagationDisabled, testReceiveSpansDisabled) dependsOn(testPropagationDisabled, testReceiveSpansDisabled)
} }
} }
val latestDepTest = findProperty("testLatestDeps") as Boolean
// kafka 4.1 requires java 11
if (latestDepTest) {
otelJava {
minJavaVersionSupported.set(JavaVersion.VERSION_11)
}
}

View File

@ -45,3 +45,12 @@ tasks {
dependsOn(testReceiveSpansDisabled) dependsOn(testReceiveSpansDisabled)
} }
} }
val latestDepTest = findProperty("testLatestDeps") as Boolean
// kafka 4.1 requires java 11
if (latestDepTest) {
otelJava {
minJavaVersionSupported.set(JavaVersion.VERSION_11)
}
}