@Inherited @Target(value=TYPE) @Retention(value=RUNTIME) public @interface Streaming
| 限定符和类型 | 可选元素和说明 |
|---|---|
boolean |
autoStart
是否自动提交job:call env.execute()
|
org.apache.flink.streaming.api.environment.CheckpointConfig.ExternalizedCheckpointCleanup |
cleanup
当任务停止时checkpoint的保持策略
|
int |
concurrent
checkpoint的并发度
|
boolean |
disableOperatorChaining
是否禁用OperatorChaining
|
org.apache.flink.api.common.RuntimeExecutionMode |
executionMode
Flink任务运行模式
|
int |
failureNumber
运行checkpoint失败的总次数
|
int |
interval
checkpoint周期(s),同value
|
org.apache.flink.streaming.api.CheckpointingMode |
mode
checkpoint的模式
|
int |
parallelism
任务的并行度
|
int |
pauseBetween
两次checkpoint的最短时间间隔
|
int |
stateTTL
状态的TTL时间(day)
|
int |
timeout
checkpoint超时时间(s)
|
boolean |
unaligned
是否开启非对齐的checkpoint
|
boolean |
useStatementSet
是否使用statementSet
|
int |
value
checkpoint周期(s)
|
int |
watermarkInterval
watermark生成周期
|
public abstract org.apache.flink.streaming.api.CheckpointingMode mode
public abstract org.apache.flink.streaming.api.environment.CheckpointConfig.ExternalizedCheckpointCleanup cleanup
public abstract boolean disableOperatorChaining
Copyright © 2024. All rights reserved.