From d8179c980dd0904c400ddb33e6065ef8f3d4734b Mon Sep 17 00:00:00 2001 From: Vinayak Kothari Date: Thu, 29 Sep 2022 18:03:58 -0400 Subject: [PATCH] Update Kafka Client to 3.0.2 (#2129) Signed-off-by: Vinayak Kothari --- build.gradle | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 8d8023221b..c5c3c017d7 100644 --- a/build.gradle +++ b/build.gradle @@ -61,6 +61,8 @@ ext { buildVersionQualifier = System.getProperty("build.version_qualifier", "") version_tokens = opensearch_version.tokenize('-') opensearch_build = version_tokens[0] + '.0' + kafka_version = '3.0.2' + if (buildVersionQualifier) { opensearch_build += "-${buildVersionQualifier}" opensearch_build_nosnapshot = opensearch_build @@ -101,7 +103,7 @@ dependencies { } implementation 'com.github.wnameless:json-flattener:0.5.0' implementation 'com.flipkart.zjsonpatch:zjsonpatch:0.4.4' - implementation 'org.apache.kafka:kafka-clients:3.0.1' + implementation "org.apache.kafka:kafka-clients:${kafka_version}" implementation 'com.onelogin:java-saml:2.5.0' implementation ('org.opensaml:opensaml-saml-impl:3.4.5') { exclude(group: 'org.apache.velocity', module: 'velocity') @@ -128,9 +130,9 @@ dependencies { testImplementation 'javax.servlet:servlet-api:2.5' testImplementation 'com.unboundid:unboundid-ldapsdk:4.0.9' testImplementation 'com.github.stephenc.jcip:jcip-annotations:1.0-1' - testImplementation 'org.apache.kafka:kafka_2.13:3.0.1' - testImplementation 'org.apache.kafka:kafka_2.13:3.0.1:test' - testImplementation 'org.apache.kafka:kafka-clients:3.0.1:test' + testImplementation "org.apache.kafka:kafka_2.13:${kafka_version}" + testImplementation "org.apache.kafka:kafka_2.13:${kafka_version}:test" + testImplementation "org.apache.kafka:kafka-clients:${kafka_version}:test" compileOnly "org.opensearch:opensearch:${opensearch_version}" }