Monitoring REST API

Flink supports the monitoring of the status of running and completed apps. These APIs are also used by Flink's own job dashboard. The status APIs support the get method which returns JSON objects giving information of the job. Currently, monitoring APIs is by default started within the Flink Job Manager dashboard. This information can also be accessed with Job Manager Dashboard.

There are many APIs available in Flink. Let's start understanding some of them.

Config API

This gives configuration details of the API:  http://localhost:8081/config

The following is  the response:

{ "refresh-interval": 3000, "timezone-offset": 19800000, "timezone-name": "India Standard Time", "flink-version": "1.0.3", "flink-revision": "f3a6b5f @ 06.05.2016 ...

Get Learning Apache Flink now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.