Skip to content

Commit eb2eed7

Browse files
fix kafka CVE-2023-25194, update kafka client to 3.4.0 (#2484) (#2490)
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 5f4cbc4 commit eb2eed7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

build.gradle

Lines changed: 8 additions & 8 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'
@@ -327,12 +327,12 @@ task bundleSecurityAdminStandaloneTarGz(dependsOn: jar, type: Tar) {
327327

328328
task createPluginDescriptor() {
329329
List<String> descriptorProperties = [
330-
"description=Provide access control related features for OpenSearch",
331-
"version=${version}",
332-
"name=opensearch-security",
333-
"classname=org.opensearch.security.OpenSearchSecurityPlugin",
334-
"java.version=${java.targetCompatibility}",
335-
"opensearch.version=${version_tokens[0]}",
330+
"description=Provide access control related features for OpenSearch",
331+
"version=${version}",
332+
"name=opensearch-security",
333+
"classname=org.opensearch.security.OpenSearchSecurityPlugin",
334+
"java.version=${java.targetCompatibility}",
335+
"opensearch.version=${version_tokens[0]}",
336336
]
337337

338338
new File("plugin-descriptor.properties").text = descriptorProperties.join ("\n")

0 commit comments

Comments
 (0)