This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 41cac5956e0 Fix Precommit SQL (#34320)
41cac5956e0 is described below

commit 41cac5956e039642a16196dd0cc7d8b6ef84b8ec
Author: akashorabek <[email protected]>
AuthorDate: Tue Mar 18 16:56:22 2025 +0500

    Fix Precommit SQL (#34320)
---
 sdks/java/io/kafka/build.gradle | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sdks/java/io/kafka/build.gradle b/sdks/java/io/kafka/build.gradle
index a3e21498fc4..14d28fff4d1 100644
--- a/sdks/java/io/kafka/build.gradle
+++ b/sdks/java/io/kafka/build.gradle
@@ -71,7 +71,10 @@ dependencies {
   implementation library.java.joda_time
   implementation library.java.jackson_annotations
   implementation library.java.jackson_databind
-  implementation group: 'com.google.cloud.hosted.kafka', name: 
'managed-kafka-auth-login-handler', version: '1.0.5'
+  implementation (group: 'com.google.cloud.hosted.kafka', name: 
'managed-kafka-auth-login-handler', version: '1.0.5') {
+    // "kafka-clients" has to be provided since user can use its own version.
+    exclude group: 'org.apache.kafka', module: 'kafka-clients'
+  }
   implementation ("io.confluent:kafka-avro-serializer:${confluentVersion}") {
     // zookeeper depends on "spotbugs-annotations:3.1.9" which clashes with 
current
     // "spotbugs-annotations:3.1.12" used in Beam. Not required.

Reply via email to