-
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][Connector-V2] Add Dingtalk Sink #2257 #2285
Conversation
cc @Hisoka-X |
pom.xml
Outdated
@@ -87,7 +87,7 @@ | |||
<module>seatunnel-plugin-discovery</module> | |||
<module>seatunnel-formats</module> | |||
<module>seatunnel-dist</module> | |||
<module>seatunnel-server</module> | |||
<module>seatunnel-server</module> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<module>seatunnel-server</module> | |
<module>seatunnel-server</module> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
<parent> | ||
<artifactId>seatunnel-connectors-v2</artifactId> | ||
<groupId>org.apache.seatunnel</groupId> | ||
<version>2.1.3-SNAPSHOT</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<version>2.1.3-SNAPSHOT</version> | |
<version>${revision}</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
||
<artifactId>connector-dingtalk</artifactId> | ||
|
||
<properties> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove maven jdk version. We should make sure our connector can compiled success both on jdk8 and jdk11.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
||
@Override | ||
public void prepare(Config pluginConfig) throws PrepareFailException { | ||
this.pluginConfig = pluginConfig; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check your config, make sure url
and secret
parameter must included in pluginConfig.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -31,7 +31,7 @@ | |||
public class SeaTunnelApiExample { | |||
|
|||
public static void main(String[] args) throws FileNotFoundException, URISyntaxException, CommandException { | |||
String configFile = getTestConfigFile("/examples/fake_to_console.conf"); | |||
String configFile = getTestConfigFile("/examples/fake_to_dingtalk.conf"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't change this default config. We should make sure other developer can run this example easy. You can create a SeaTunnelDingTaskExample.java or create a e2e test for DingTalk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Also please add DingTalk properties to plugin-mapping.properties file. |
Got it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the document for this connector. The path is docs/en/connector-v2/sink
.
Thanks.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't update this file .idea/vcs.xml
Please add |
8d2f23e
to
8a3906e
Compare
Hi Please resolve ci problem. Thanks! |
add doc , dingtalk.md |
It's done |
Please fix ci error. |
4cfb144
to
defe1bb
Compare
Sorry, my checkstyle is not seatunnel config, so it has many problem. |
SeaTunnel checkstyle file in |
Yes,I fix it |
cc @CalvinKirs @Hisoka-X First-time contributors need a maintainer to approve running workflow |
* [Feature][Connector2] Add Dingtalk Sink apache#2257 * [Feature][Connector2] Add Dingtalk Sink apache#2257
Add Dingtalk Sink #2257 ,include sink and api example