Key | Default | Type | Description
--- | --- | --- | ---

##### autoscaler.standalone.control-loop.interval

10 s

Duration

The interval of autoscaler standalone control loop.

##### autoscaler.standalone.control-loop.parallelism

100

Integer

The parallelism of autoscaler standalone control loop.

##### autoscaler.standalone.event-handler.type

LOGGING

Enum

The autoscaler event handler type.
Possible values:

- "LOGGING": The event handler based on logging.
- "JDBC": The event handler which persists all events in JDBC related database. It's recommended in production.

##### autoscaler.standalone.fetcher.flink-cluster.host

"localhost"

String

The host name of flink cluster when the flink-cluster fetcher is used.

##### autoscaler.standalone.fetcher.flink-cluster.port

8081

Integer

The port of flink cluster when the flink-cluster fetcher is used.

##### autoscaler.standalone.jdbc.event-handler.ttl

90 d

Duration

The time to live based on create time for the JDBC event handler records. When the config is set as '0', the ttl strategy for the records would be disabled.

##### autoscaler.standalone.jdbc.password-env-variable

"JDBC_PWD"

String

The environment variable name of jdbc password when `autoscaler.standalone.state-store.type` or `autoscaler.standalone.event-handler.type` has been set to `JDBC`. In general, the environment variable name doesn't need to be changed. Users need to export the password using this environment variable.

##### autoscaler.standalone.jdbc.url

(none)

String

The jdbc url when `autoscaler.standalone.state-store.type` or `autoscaler.standalone.event-handler.type` has been set to `JDBC`, such as: `jdbc:mysql://localhost:3306/flink_autoscaler`.
This option is required when using JDBC state store or JDBC event handler.

##### autoscaler.standalone.jdbc.username

(none)

String

The jdbc username when `autoscaler.standalone.state-store.type` or `autoscaler.standalone.event-handler.type` has been set to `JDBC`.

##### autoscaler.standalone.state-store.type

MEMORY

Enum

The autoscaler state store type.
Possible values:

- "MEMORY": The state store based on the Java Heap, the state will be discarded after process restarts.
- "JDBC": The state store which persists its state in JDBC related database. It's recommended in production.