Interface FlinkRunConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<FlinkRunConfiguration.Builder,FlinkRunConfiguration>, SdkBuilder<FlinkRunConfiguration.Builder,FlinkRunConfiguration>, SdkPojo
Enclosing class:
FlinkRunConfiguration

public static interface FlinkRunConfiguration.Builder extends SdkPojo, CopyableBuilder<FlinkRunConfiguration.Builder,FlinkRunConfiguration>
  • Method Details

    • allowNonRestoredState

      FlinkRunConfiguration.Builder allowNonRestoredState(Boolean allowNonRestoredState)

      When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. This will happen if the program is updated between snapshots to remove stateful parameters, and state data in the snapshot no longer corresponds to valid application data. For more information, see Allowing Non-Restored State in the Apache Flink documentation.

      This value defaults to false. If you update your application without specifying this parameter, AllowNonRestoredState will be set to false, even if it was previously set to true.

      Parameters:
      allowNonRestoredState - When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. This will happen if the program is updated between snapshots to remove stateful parameters, and state data in the snapshot no longer corresponds to valid application data. For more information, see Allowing Non-Restored State in the Apache Flink documentation.

      This value defaults to false. If you update your application without specifying this parameter, AllowNonRestoredState will be set to false, even if it was previously set to true.

      Returns:
      Returns a reference to this object so that method calls can be chained together.