-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Feature][Tool] Add connector check script #6199
Comments
Hi @Hisoka-X Can you please elaborate where do i have to write it ? |
Hi @Hisoka-X if you explain i can definitely write it |
Thanks @manauwarcode for your interest in this issue. Here are some QA which I hope can help you go on.
|
@Hisoka-X I have a doubt, when i see in the /connectors directory i have bunch of connector jar files, do i have to list these using command or something else, can you please elaborate what is the exact feature you wanted to add in details. Thank you!! |
The connector jar represents our currently supported connectors, but from the name of the connector jar we get very little information. The tool we developed can load these connectors through SPI and tell users which Sources/Transforms/Sinks are supported by the current connector, and the corresponding option rule. ls connectors/
connector-amazonsqs-2.3.4.jar connector-cdc-postgres-2.3.4.jar connector-file-local2.3.4jar
./bin/plugin-helper.sh -l
Source:
AmazonSqs Postgres-CDC LocalFile
Sink:
AmazonSqs LocalFile
Transform:
SQL Split
./bin/plugin-helper.sh -o LocalFile
....(show localfile option rule) |
Hi @Hisoka-X can you please explain even more, i am new to shell just finished the tutorials , wanted to help in open source contribution, hope you understand. Thank You!! |
Which part? |
Hi @Hisoka-X how do we find source sink and transform and explain LocalFile as well. Thank you!! |
In principle, by searching for Java's SPI interface implementation, find the corresponding connector factory, and then call the corresponding method to obtain the option rule. Like Line 38 in 5c917bc
From a practical perspective, we only need to call the corresponding method of the Factory to get all the information we need (the logic of searching through SPI has been encapsulated), and then display it. Line 239 in 101e147
|
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs. |
@Hisoka-X Please assign it to me, I'll try it. |
Search before asking
Description
Add a new script, it can check which connector supported by now in
/connector
directory. Also support show connector option rule in shell command.Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: