Skip to content

Commit 9415c67

Browse files
fix kafka CVE-2023-25194, update kafka client to 3.4.0 (#2484) (#2489)
Signed-off-by: Shujian Xie <xiesj@live.com> Signed-off-by: Peter Nied <peternied@hotmail.com> (cherry picked from commit 7547d03) Co-authored-by: xieshujian <xiesj@live.com>
1 parent faaa5ad commit 9415c67

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

build.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ ext {
6262
buildVersionQualifier = System.getProperty("build.version_qualifier", "")
6363
version_tokens = opensearch_version.tokenize('-')
6464
opensearch_build = version_tokens[0] + '.0'
65-
kafka_version = '3.0.2'
65+
kafka_version = '3.4.0'
6666

6767
if (buildVersionQualifier) {
6868
opensearch_build += "-${buildVersionQualifier}"
@@ -132,7 +132,7 @@ dependencies {
132132
testImplementation 'junit:junit:4.13.1'
133133
testImplementation 'org.apache.httpcomponents:fluent-hc:4.5.13'
134134
testImplementation 'org.mockito:mockito-core:2.23.0'
135-
testImplementation 'org.springframework.kafka:spring-kafka-test:2.8.6'
135+
testImplementation 'org.springframework.kafka:spring-kafka-test:2.9.6'
136136
testImplementation 'javax.servlet:servlet-api:2.5'
137137
testImplementation 'com.unboundid:unboundid-ldapsdk:4.0.9'
138138
testImplementation 'com.github.stephenc.jcip:jcip-annotations:1.0-1'
@@ -335,12 +335,12 @@ task bundleSecurityAdminStandaloneTarGz(dependsOn: jar, type: Tar) {
335335

336336
task createPluginDescriptor() {
337337
List<String> descriptorProperties = [
338-
"description=Provide access control related features for OpenSearch",
339-
"version=${version}",
340-
"name=opensearch-security",
341-
"classname=org.opensearch.security.OpenSearchSecurityPlugin",
342-
"java.version=${java.targetCompatibility}",
343-
"opensearch.version=${version_tokens[0]}",
338+
"description=Provide access control related features for OpenSearch",
339+
"version=${version}",
340+
"name=opensearch-security",
341+
"classname=org.opensearch.security.OpenSearchSecurityPlugin",
342+
"java.version=${java.targetCompatibility}",
343+
"opensearch.version=${version_tokens[0]}",
344344
]
345345

346346
new File("plugin-descriptor.properties").text = descriptorProperties.join ("\n")
@@ -417,4 +417,4 @@ task updateVersion {
417417
}
418418
ant.replaceregexp(file:'build.gradle', match: '"opensearch.version", "\\d.*"', replace: '"opensearch.version", "' + newVersion.tokenize('-')[0] + '-SNAPSHOT"', flags:'g', byline:true)
419419
}
420-
}
420+
}

0 commit comments

Comments
 (0)