From 2210830a8bdee7a5b909e64a722a4862847fc9ef Mon Sep 17 00:00:00 2001 From: majialong Date: Sun, 5 Oct 2025 00:45:58 +0800 Subject: [PATCH] Remove plugin.path empty warning log in PluginUtils --- .../apache/kafka/connect/runtime/isolation/PluginUtils.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/PluginUtils.java b/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/PluginUtils.java index 729074d508e..ac7deaa4b35 100644 --- a/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/PluginUtils.java +++ b/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/PluginUtils.java @@ -209,9 +209,6 @@ public class PluginUtils { for (String path : pluginPathElements) { try { Path pluginPathElement = Paths.get(path).toAbsolutePath(); - if (pluginPath.isEmpty()) { - log.warn("Plugin path element is empty, evaluating to {}.", pluginPathElement); - } if (!Files.exists(pluginPathElement)) { throw new FileNotFoundException(pluginPathElement.toString()); }