majialoong commented on code in PR #20612:
URL: https://github.com/apache/kafka/pull/20612#discussion_r2394745580


##########
tools/src/main/java/org/apache/kafka/tools/ConnectPluginPath.java:
##########
@@ -171,7 +171,7 @@ private static Set<Path> parseLocations(ArgumentParser 
parser, Namespace namespa
                 throw new TerseException("Unable to read worker config at " + 
rawWorkerConfig);
             }
             String pluginPath = 
properties.getProperty(WorkerConfig.PLUGIN_PATH_CONFIG);
-            if (pluginPath != null) {
+            if (pluginPath != null && !pluginPath.isEmpty()) {

Review Comment:
   [In this PR](https://github.com/apache/kafka/pull/20334), `plugin.path` is 
defined to not be empty. Therefore, I think some adjustments are needed here to 
align with the definition of "non-empty."



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to