bin/start-seatunnel-flink.sh -c config-path -i key=value [other params]
使用
-c
或者--config
来指定配置文件的路径。 使用-i
或者--variable
来指定配置文件中的变量,可以配置多个
env {
execution.parallelism = 1
}
source {
FakeSourceStream {
result_table_name = "fake"
field_name = "name,age"
}
}
transform {
sql {
sql = "select name,age from fake where name='"$"'"
}
}
sink {
ConsoleSink
}
bin/start-seatunnel-flink.sh -c config-path -i my_name=kid-xiong
这样指定将会把配置文件中的"$"
替换为kid-xiong
其余参数参考flink原始参数,查看flink参数方法:
flink run -h
,参数可以根据需求任意添加,如-m yarn-cluster
则指定为on yarn模式。
flink run -h
- flink standalone 可配置的参数
例如:-p 2 指定作业并行度为2
bin/start-seatunnel-flink.sh -p 2 -c config-path
- flink yarn-cluster 可配置参数
例如:-m yarn-cluster -ynm seatunnel 指定作业在运行在yarn上,并且yarn webUI的名称为seatunnel
bin/start-seatunnel-flink.sh -m yarn-cluster -ynm seatunnel -c config-path
文章列表
- Apache Seatunnel-Roadmap
- Apache Seatunnel-Sink plugin : Clickhouse [Spark]
- Apache Seatunnel-Sink plugin : Console [Spark]
- Apache Seatunnel-Sink plugin : Elasticsearch [Spark]
- Apache Seatunnel-Sink plugin : Email [Spark]
- Apache Seatunnel-Sink plugin : File [Spark]
- Apache Seatunnel-Sink plugin : Hbase [Spark]
- Apache Seatunnel-Sink plugin : Hdfs [Spark]
- Apache Seatunnel-Sink plugin : Mysql [Spark]
- Apache Seatunnel-Sink plugin : Phoenix [Spark]
- Apache Seatunnel-Source plugin : Fake [Spark]
- Apache Seatunnel-Source plugin : FakeStream [Spark]
- Apache Seatunnel-Source plugin : Hive [Spark]
- Apache Seatunnel-Source plugin : JDBC [Spark]
- Apache Seatunnel-Source plugin : Kafka [Flink]
- Apache Seatunnel-Source plugin : Kafka [Spark]
- Apache Seatunnel-Source plugin : Socket [Flink]
- Apache Seatunnel-Source plugin : SocketStream [Spark]
- Apache Seatunnel-Transform Plugin
- Apache Seatunnel-Transform plugin : Json [Spark]
- Apache Seatunnel-Transform plugin : SQL [Spark]
- Apache Seatunnel-Transform plugin : Split [Spark]
- Apache Seatunnel-seatunnel v2.x 与 v1.x 的区别是什么?
- Apache Seatunnel-start-seatunnel-flink.sh 使用方法
- Apache Seatunnel-start-seatunnel-spark.sh 使用方法
- Apache Seatunnel-下载、安装
- Apache Seatunnel-为 seatunnel v2.x 贡献代码
- Apache Seatunnel-完整配置文件案例 [Spark]
- Apache Seatunnel-快速开始
- Apache Seatunnel-插件开发
- Apache Seatunnel-深入seatunnel
- Apache Seatunnel-部署与运行