You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "urbandan (via GitHub)" <gi...@apache.org> on 2023/05/22 14:32:33 UTC

[GitHub] [kafka] urbandan commented on pull request #13733: KAFKA-13337: fix of possible java.nio.file.AccessDeniedException during Connect plugin directory scan

urbandan commented on PR #13733:
URL: https://github.com/apache/kafka/pull/13733#issuecomment-1557329915

   @akatona84 Is there any way to decide if a specific file/dir is meant to be a plugin?
   For the scenario you described, I understand that ".pki" was not an actual plugin, and in that case, it is desirable to just skip the dir. But in any other case, I agree that Connect should fail instead - if the intention of the admin was to add a plugin, but Connect cannot pick it up, that is a critical issue.
   If we have any method to decide if a file is meant to be a plugin or not, we can decide to fail or just skip. If we cannot decide if the file is a plugin or not, failing is the safer choice.


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org