All Products
Search
Document Center

Realtime Compute for Apache Flink:TuningHistory

Last Updated:Oct 09, 2026

Parameter

Type

Description

Example

object

The resource tuning record.

tuningId

string

The UUID of the tuning record.

06d81ae2-xxxx-xxxx-xxxx-xxxxxxxxxxxx

deploymentName

string

The full path name of the deployment.

namespaces/ns-xxx/deployments/6aa0d4d1-xxxx-xxxx-xxxx-xxxxxxxxxxxx

jobId

string

The ID of the associated job.

b462c053-xxxx-xxxx-xxxx-xxxxxxxxxxxx

tuningState

string

The tuning state. Valid values:

  • SUCCESS: The tuning succeeded.

  • FAILED: The tuning failed.

  • EXECUTING: The tuning is in progress.

  • TERMINATED: The tuning was terminated.

  • FAILED_WITH_ROLLBACK_SUCCESS: The tuning failed but the rollback succeeded.

  • FAILED_WITH_ROLLBACK_FAILED: The tuning failed and the rollback also failed.

  • FAILED_WITH_RESOURCE_LACK: The tuning failed due to insufficient resources.

  • FAILED_WITH_SAME_RESOURCE_SETTING: The tuning failed because the resource configuration did not change.

SUCCESS

tuningMessage

string

The tuning message. This is an internationalized, human-readable string that is not recommended for programmatic parsing.

Scale up parallelism from 2 to 4

triggerTime

integer

The trigger timestamp in milliseconds.

1718270936000

actionType

string

The action type. Valid values:

  • SCALE_UP_PARALLELISM: scales up parallelism.

  • SCALE_DOWN_PARALLELISM: scales down parallelism.

  • SCALE_UP_MEMORY: scales up memory.

  • RESTART: restarts the job.

SCALE_UP_PARALLELISM

isHotUpdate

boolean

Indicates whether this is a hot update. A value of true indicates that the change takes effect without restarting the job. A value of false indicates that the job must be restarted.

true

oldResourceSetting

object

The resource configuration before tuning.

parallelism

integer

The parallelism.

2

cpu

number

The number of CPU cores per TaskManager.

1.0

memory

string

The memory per TaskManager, in a format such as 4 Gi.

2 Gi

newResourceSetting

object

The resource configuration after tuning. This value may be null if the tuning failed.

parallelism

integer

The parallelism.

4

cpu

number

The number of CPU cores per TaskManager.

1.0

memory

string

The memory per TaskManager, in a format such as 4 Gi.

2 Gi

annotations

object

The additional annotations.

string

The annotation information.

{"k":"v"}