Flink is a powerful high-performance distributed stream processing engine,More information about it you can,You can search for Apache Flink
Set Flink configuration information in the job
Begin with flink.
Example: I set a precise Checkpoint for this job
env {parallelism = 1flink.execution.checkpointing.unaligned.enabled=true}
Enumeration types are not currently supported, you need to specify them in the Flink conf file ,Only these types of Settings are supported for the time being:
Integer/Boolean/String/Duration
How to set up a simple Flink job
This is a simple job that runs on Flink Randomly generated data is printed to the console
env {# common parameterparallelism = 1checkpoint.interval = 5000# flink special parameterflink.execution.checkpointing.mode = "EXACTLY_ONCE"flink.execution.checkpointing.timeout = 600000}source {FakeSource {row.num = 16result_table_name = "fake_table"schema = {fields {c_map = "map<string, string>"c_array = "array<int>"c_string = stringc_boolean = booleanc_int = intc_bigint = bigintc_double = doublec_bytes = bytesc_date = datec_decimal = "decimal(33, 18)"c_timestamp = timestampc_row = {c_map = "map<string, string>"c_array = "array<int>"c_string = stringc_boolean = booleanc_int = intc_bigint = bigintc_double = doublec_bytes = bytesc_date = datec_decimal = "decimal(33, 18)"c_timestamp = timestamp}}}}}transform {# If you would like to get more information about how to configure seatunnel and see full list of transform plugins,# please go to https://seatunnel.apache.org/docs/transform-v2/sql}sink{Console{}}
How to run a job in a project
After you pull the code to the local, go to the seatunnel-examples/seatunnel-flink-connector-v2-example module find org.apache.seatunnel.example.flink.v2.SeaTunnelApiExample To complete the operation of the job
