-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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]add AssertSink connector #2022
Conversation
…er help message for run modes. (apache#2008)
Co-authored-by: zhoutao.tobeone <zhoutao.tobeone@bytedance.com>
* update contribute-plugin.md about plugin mapping. * update contribute-plugin.md about plugin mapping. * add uuid, udf, replace transform to doc Co-authored-by: TrickyZerg <32387433+BenJFan@users.noreply.github.com>
@ruanwenjun #1912 has been done. Can you help me to review the code ? Thx! |
AssertSink config is at UT is here: |
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 this plugin in seatunnel-connectors-flink-dist/pom.xml
, otherwise the plugin will not in distribution.
...nnector-flink-assert/src/main/java/org/apache/seatunnel/flink/assertion/sink/AssertSink.java
Outdated
Show resolved
Hide resolved
...nnector-flink-assert/src/main/java/org/apache/seatunnel/flink/assertion/sink/AssertSink.java
Show resolved
Hide resolved
...nnector-flink-assert/src/main/java/org/apache/seatunnel/flink/assertion/sink/AssertSink.java
Outdated
Show resolved
Hide resolved
...ctor-flink-assert/src/test/java/org/apache/seatunnel/flink/assertion/AssertExecutorTest.java
Show resolved
Hide resolved
.../seatunnel-core-flink/src/main/java/org/apache/seatunnel/core/flink/config/FlinkRunMode.java
Outdated
Show resolved
Hide resolved
seatunnel-examples/seatunnel-flink-examples/src/main/resources/examples/fake_to_console.conf
Outdated
Show resolved
Hide resolved
…eatunnel/core/flink/config/FlinkRunMode.java Co-authored-by: Wenjun Ruan <wenjun@apache.org>
1. add licenses 2. use reduce instead of map in batch output 3. revert fake_to_console.conf 4. add plugin to flink-dist
1. add licenses
There is so many [ImportOrder] checkstyle error. All of them looks tricky. Is there any approach to correct my code import order automatically? @ruanwenjun |
You need to import |
|
.../seatunnel-api-flink/src/main/java/org/apache/seatunnel/flink/batch/FlinkBatchExecution.java
Outdated
Show resolved
Hide resolved
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.
LGTM, you can add IT to test this plugin.
Thanks very much for reviewing. Hope to help community develop more efficiently! |
* [Feature][Connector]add AssertSink AssertExecutor
Purpose of this pull request
import an AssertSink plugin, this plugin is similier with ConsoleSink plugin, but will not print data in console, it will validate the data with some rule, e.g: data rows, data type, data value...
#1912
Check list
New License Guide