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

[Bug] [plugin-discovery] Jar found with same prefix #7271

Closed
3 tasks done
corgy-w opened this issue Jul 26, 2024 · 1 comment · Fixed by #7278
Closed
3 tasks done

[Bug] [plugin-discovery] Jar found with same prefix #7271

corgy-w opened this issue Jul 26, 2024 · 1 comment · Fixed by #7278
Assignees
Labels

Comments

@corgy-w
Copy link
Contributor

corgy-w commented Jul 26, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

When the project began loading the plugin, we encountered multiple jars during the search due to custom development(eg ⬇️:plugin-mapping.properties). I propose using a similarity algorithm to match the most appropriate jar. Please review the details, and I will submit the corresponding pr.

SeaTunnel Version

2.3.3 When I raised this issue, I found that 2.3.5 had already avoided this by throwing IllegalArgumentException

SeaTunnel Config

plugin-mapping.properties
---
seatunnel.source.HttpBase = connector-http
seatunnel.sink.HttpBase = connector-http
seatunnel.source.HttpJira = connector-http-jira
seatunnel.sink.HttpJira = connector-http-jira
seatunnel.source.Kafka = connector-kafka
seatunnel.sink.Kafka = connector-kafka
seatunnel.source.Kafka-Alcs = connector-kafka-alcs
seatunnel.sink.Kafka-Alcs = connector-kafka-alcs
seatunnel.source.Kafka-Blcs = connector-kafka-blcs
seatunnel.sink.Kafka-Blcs = connector-kafka-blcs
---

Running Command

-

Error Exception

-

Zeta or Flink or Spark Version

No response

Java or Scala Version

No response

Screenshots

image

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@corgy-w corgy-w added the bug label Jul 26, 2024
@Hisoka-X
Copy link
Member

Yes, the current jar package path positioning is not perfect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants