Re: job status monitor

2018-07-25 Thread Renjie Liu
You can use rest api here https://ci.apache.org/projects/flink/flink-docs-release-1.5/monitoring/rest_api.html On Wed, Jul 25, 2018 at 5:18 PM 从六品州同 <26304...@qq.com> wrote: > dear all: > Is there a notification mechanism for Flink? When job's status changes, > such as restart, failure, notify ot

Re: job status monitor

2018-07-25 Thread Chesnay Schepler
There's no built-in mechanism to send notifications. To monitor the job status you can poll the REST API. (*/jobs/:jobid) *Alternatively you could implement a MetricReporter that explicitly checks for the availability metrics