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] [DOC] Plugin PluginIdentifier{engineType='seatunnel', pluginType='source', pluginName='XXXXXX'} not found #7959

Open
3 tasks done
YOMO-Lee opened this issue Nov 1, 2024 · 1 comment
Assignees
Labels

Comments

@YOMO-Lee
Copy link
Contributor

YOMO-Lee commented Nov 1, 2024

Search before asking

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

English problem description

SeaTunnel connector development document seatunnel connectors v2/README. zh. md There is an error in the description of the development document for a new connector.The article mentions

Create Sink and Create Source are methods for creating Source and Sink, respectively, and currently do not need to be implemented

Actually, they should be implemented, otherwise it will cause an exception Plugin Plugin Identifier {engineType='seattunnel ', pluginType='source', pluginName='XXXXXX'} not found

In addition, there is no mention of the need to implement creatSink and creatSource in the creation of a new seatunnel v2 connector

中文问题描述

SeaTunnel连接器开发文档 seatunnel-connectors-v2/README.zh.md 关于一个新连接器的开发文档描述有错误
文中提到


createSink 和 createSource 分别是创建Source和Sink的方法,目前不用实现

实际上他们应该被实现,不然会引起异常 Plugin PluginIdentifier{engineType='seatunnel', pluginType='source', pluginName='XXXXXX'} not found

另外在 创建新的seatunnel v2 connector 中也没提及需要实现 createSink 和 createSource

SeaTunnel Version

DEV

SeaTunnel Config

Running Command

Error Exception

Exception in thread "main" org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel job executed failed
	at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:226)
	at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
	at org.apache.seatunnel.example.engine.SeaTunnelEngineLocalExample.main(SeaTunnelEngineLocalExample.java:48)
Caused by: java.lang.RuntimeException: Plugin PluginIdentifier{engineType='seatunnel', pluginType='source', pluginName='OceanBase-CDC'} not found.
	at org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery.createPluginInstance(AbstractPluginDiscovery.java:237)
	at org.apache.seatunnel.engine.core.parse.ConnectorInstanceLoader.loadSourceInstance(ConnectorInstanceLoader.java:61)
	at org.apache.seatunnel.engine.core.parse.JobConfigParser.parseSource(JobConfigParser.java:79)
	at org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parseSource(MultipleTableJobConfigParser.java:370)
	at org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parse(MultipleTableJobConfigParser.java:209)
	at org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.getLogicalDag(ClientJobExecutionEnvironment.java:114)
	at org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.execute(ClientJobExecutionEnvironment.java:182)
	at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:163)
	... 2 more

Zeta or Flink or Spark Version

No response

Java or Scala Version

No response

Screenshots

image

c8bfe9e01514e103654482f4c77b591

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@YOMO-Lee YOMO-Lee added the bug label Nov 1, 2024
@YOMO-Lee
Copy link
Contributor Author

YOMO-Lee commented Nov 1, 2024

please assign to me

YOMO-Lee added a commit to YOMO-Lee/seatunnel that referenced this issue Nov 2, 2024
…che#7959

Supplementary explanations have been provided for the methods and classes that must be implemented during the source development process
YOMO-Lee added a commit to YOMO-Lee/seatunnel that referenced this issue Nov 2, 2024
…#7959

Supplementary explanations have been provided for the methods and classes that must be implemented during the source development process
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant