Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix][Plugin] Optimize the plugin discovery mechanism #8603

Merged
merged 9 commits into from
Feb 25, 2025

Conversation

corgy-w
Copy link
Contributor

@corgy-w corgy-w commented Feb 4, 2025

Purpose of this pull request

Optimize the plugin discovery mechanism

Does this PR introduce any user-facing change?

How was this patch tested?

ut

Check list

@corgy-w corgy-w marked this pull request as ready for review February 6, 2025 02:48
@corgy-w
Copy link
Contributor Author

corgy-w commented Feb 6, 2025

cc @hailin0

@corgy-w corgy-w requested a review from Hisoka-X February 11, 2025 13:13
@corgy-w
Copy link
Contributor Author

corgy-w commented Feb 13, 2025

@hailin0 PTAL

Hisoka-X
Hisoka-X previously approved these changes Feb 14, 2025
if (resMatchedUrls.size() != 1) {
throw new SeaTunnelException(
String.format(
"Cannot find unique plugin jar for pluginIdentifier: %s -> %s",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add matchedUrl into error message

}
return Optional.empty();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add debug logs

@Hisoka-X Hisoka-X merged commit dcb76b9 into apache:dev Feb 25, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants