Key Default Type Description
rest.address
(none) String The address that should be used by clients to connect to the server. Attention: This option is respected only if the high-availability configuration is NONE.
rest.async.store-duration
5 min Duration Maximum duration that the result of an async operation is stored. Once elapsed the result of the operation can no longer be retrieved.
rest.await-leader-timeout
30000 Long The time in ms that the client waits for the leader address, e.g., Dispatcher or WebMonitorEndpoint
rest.bind-address
(none) String The address that the server binds itself.
rest.bind-port
"8081" String The port that the server binds itself. Accepts a list of ports (“50100,50101”), ranges (“50100-50200”) or a combination of both. It is recommended to set a range of ports to avoid collisions when multiple Rest servers are running on the same machine.
rest.cache.checkpoint-statistics.size
1000 Integer Maximum number of entries in the checkpoint statistics cache.
rest.cache.checkpoint-statistics.timeout
3 s Duration Duration from write after which cached checkpoints statistics are cleaned up. For backwards compatibility, if no value is configured, web.refresh-interval will be used instead.
rest.client.max-content-length
104857600 Integer The maximum content length in bytes that the client will handle.
rest.connection-timeout
15000 Long The maximum time in ms for the client to establish a TCP connection.
rest.flamegraph.cleanup-interval
10 min Duration Time after which cached stats are cleaned up if not accessed. It can be specified using notation: "100 s", "10 m".
rest.flamegraph.delay-between-samples
50 ms Duration Delay between individual stack trace samples taken for building a FlameGraph. It can be specified using notation: "100 ms", "1 s".
rest.flamegraph.enabled
false Boolean Enables the experimental flame graph feature.
rest.flamegraph.num-samples
100 Integer Number of samples to take to build a FlameGraph.
rest.flamegraph.refresh-interval
1 min Duration Time after which available stats are deprecated and need to be refreshed (by resampling). It can be specified using notation: "30 s", "1 m".
rest.flamegraph.stack-depth
100 Integer Maximum depth of stack traces used to create FlameGraphs.
rest.idleness-timeout
300000 Long The maximum time in ms for a connection to stay idle before failing.
rest.port
8081 Integer The port that the client connects to. If rest.bind-port has not been specified, then the REST server will bind to this port. Attention: This option is respected only if the high-availability configuration is NONE.
rest.retry.delay
3000 Long The time in ms that the client waits between retries (See also `rest.retry.max-attempts`).
rest.retry.max-attempts
20 Integer The number of retries the client will attempt if a retryable operations fails.
rest.server.max-content-length
104857600 Integer The maximum content length in bytes that the server will handle.
rest.server.numThreads
4 Integer The number of threads for the asynchronous processing of requests.
rest.server.thread-priority
5 Integer Thread priority of the REST server's executor for processing asynchronous requests. Lowering the thread priority will give Flink's main components more CPU time whereas increasing will allocate more time for the REST server's processing.
rest.url-prefix
"/" String The url prefix that should be used by clients to construct the full target url, must start and end with '/'. This will be added between the address and version prefix. For example, if the option is set to '/foo/', the overview query URL will be transformed to 'localhost:8081/foo/v1/overview'. Attention: This option is respected only if the high-availability configuration is NONE.