Hi!

There is currently no such setting. You need to rely on an external system
to read the execution time (from Flink's job information, see [1]) and
cancel the job once it exceeds the time limit.

Could you elaborate more on your use case? Are you running a streaming job
or a batch job? For streaming jobs it is rare to have a time limit.

[1]
https://nightlies.apache.org/flink/flink-docs-release-1.13/docs/ops/rest_api/#jobs-jobid

Sharon Xie <sharon.xie...@gmail.com> 于2021年10月12日周二 上午3:42写道:

> Hi there,
>
> We have a use case where we want to terminate a job when a time limit
> is reached. Is there a Flink setting that we can use for this use case?
>
>
> Thanks,
> Sharon
>

Reply via email to