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

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


The following commit(s) were added to refs/heads/master by this push:
     new 6d9b1b2cf RANGER-5661:Fix Kafka plugin packaging for broker-delegate 
classloading on Kafka 3.9+ (#1040)
6d9b1b2cf is described below

commit 6d9b1b2cf2e9a84eb4eebb2fd71c8672c333e69b
Author: Ramachandran Krishnan <[email protected]>
AuthorDate: Fri Jul 3 21:21:52 2026 +0530

    RANGER-5661:Fix Kafka plugin packaging for broker-delegate classloading on 
Kafka 3.9+ (#1040)
    
    Co-authored-by: ramk <[email protected]>
    Co-authored-by: Cursor <[email protected]>
---
 distro/src/main/assembly/plugin-kafka.xml | 19 +++++++++++++++++--
 plugin-kafka/template/configuration.xml   | 20 ++++++++++++++++++++
 2 files changed, 37 insertions(+), 2 deletions(-)

diff --git a/distro/src/main/assembly/plugin-kafka.xml 
b/distro/src/main/assembly/plugin-kafka.xml
index e06319ad4..60e766863 100644
--- a/distro/src/main/assembly/plugin-kafka.xml
+++ b/distro/src/main/assembly/plugin-kafka.xml
@@ -78,9 +78,24 @@
                                        
<include>org.apache.solr:solr-solrj:jar:${solr.version}</include>
                                        
<include>org.codehaus.woodstox:stax2-api</include>
                                        
<include>org.eclipse.jetty:jetty-client:jar:${jetty-client.version}</include>
-                                       
<include>org.glassfish.jersey.ext:jersey-entity-filtering:jar:${jersey-client.version}</include>
-                                       
<include>org.glassfish.jersey.media:jersey-media-json-jackson:jar:${jersey-client.version}</include>
                                </includes>
+                <excludes>
+                                       
<exclude>com.fasterxml.jackson.core:*</exclude>
+                                       
<exclude>com.fasterxml.jackson.jaxrs:*</exclude>
+                                       
<exclude>com.fasterxml.jackson.module:*</exclude>
+                                       
<exclude>com.fasterxml.jackson.dataformat:*</exclude>
+                                       
<exclude>org.apache.kafka:kafka-clients</exclude>
+                                       
<exclude>org.glassfish.jersey.core:*</exclude>
+                                       
<exclude>org.glassfish.jersey.ext:*</exclude>
+                                       
<exclude>org.glassfish.jersey.inject:*</exclude>
+                                       
<exclude>org.glassfish.jersey.media:*</exclude>
+                                       <exclude>org.glassfish.hk2:*</exclude>
+                                       
<exclude>javax.ws.rs:javax.ws.rs-api</exclude>
+                                       
<exclude>jakarta.ws.rs:jakarta.ws.rs-api</exclude>
+                                       <exclude>org.slf4j:*</exclude>
+                                       
<exclude>org.apache.logging.log4j:*</exclude>
+                                       <exclude>ch.qos.reload4j:*</exclude>
+                               </excludes>
                        </binaries>
                </moduleSet>
 
diff --git a/plugin-kafka/template/configuration.xml 
b/plugin-kafka/template/configuration.xml
new file mode 100644
index 000000000..bdb012589
--- /dev/null
+++ b/plugin-kafka/template/configuration.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<configuration>
+</configuration>

Reply via email to