Skip to content

Commit 7a6a454

Browse files
kevinjqliuCopilot
andcommitted
Kafka Connect: Exclude SLF4J 1.x bindings from the Hive distribution
The Hive distribution bundled logback-classic and slf4j-reload4j, which are SLF4J 1.x bindings that slf4j-api 2.x ignores. Exclude them and drop the Logback LICENSE entry. Generated-by: GitHub Copilot (Claude Opus 5.5) Co-authored-by: Copilot App <[email protected]>
1 parent f6e244f commit 7a6a454

3 files changed

Lines changed: 3 additions & 22 deletions

File tree

‎kafka-connect/build.gradle‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ project(':iceberg-kafka-connect:iceberg-kafka-connect-runtime') {
7575
extendsFrom runtimeClasspath
7676
// keep the hive distribution a superset of main by resolving shared jars to the same versions
7777
shouldResolveConsistentlyWith(runtimeClasspath)
78+
// SLF4J 1.x bindings are ignored by slf4j-api 2.x
79+
exclude group: 'ch.qos.logback'
80+
exclude group: 'org.slf4j', module: 'slf4j-reload4j'
7881
}
7982
all {
8083
exclude group: 'javax.activation', module: 'activation'

‎kafka-connect/kafka-connect-runtime/hive/LICENSE‎

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2677,25 +2677,6 @@ License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2
26772677

26782678
--------------------------------------------------------------------------------
26792679

2680-
This product bundles Logback.
2681-
2682-
Project URL: https://logback.qos.ch/
2683-
License: Eclipse Public License, Version 1.0 (chosen from EPL 1.0 or LGPL 2.1) - https://www.eclipse.org/legal/epl-v10.html
2684-
2685-
| Logback: the reliable, generic, fast and flexible logging framework.
2686-
| Copyright (C) 1999-2015, QOS.ch. All rights reserved.
2687-
|
2688-
| This program and the accompanying materials are dual-licensed under
2689-
| either the terms of the Eclipse Public License v1.0 as published by
2690-
| the Eclipse Foundation
2691-
|
2692-
| or (per the licensee's choosing)
2693-
|
2694-
| under the terms of the GNU Lesser General Public License version 2.1
2695-
| as published by the Free Software Foundation.
2696-
2697-
--------------------------------------------------------------------------------
2698-
26992680
This product bundles DataNucleus (core, RDBMS, JDO API and javax.jdo).
27002681

27012682
Project URL: https://www.datanucleus.org/

‎kafka-connect/kafka-connect-runtime/hive/runtime-deps.txt‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
aopalliance:aopalliance:1.0
2-
ch.qos.logback:logback-classic:1.2
3-
ch.qos.logback:logback-core:1.2
42
ch.qos.reload4j:reload4j:1.2
53
com.azure:azure-core-http-netty:1.16
64
com.azure:azure-core:1.60
@@ -299,7 +297,6 @@ org.mongodb:bson:4.11
299297
org.reactivestreams:reactive-streams:1.0
300298
org.roaringbitmap:RoaringBitmap:1.6
301299
org.slf4j:slf4j-api:2.0
302-
org.slf4j:slf4j-reload4j:1.7
303300
org.threeten:threeten-extra:1.8
304301
org.threeten:threetenbp:1.7
305302
org.xerial.snappy:snappy-java:1.1

0 commit comments

Comments
 (0)