ServiceRollbackConfig

data class ServiceRollbackConfig(val delay: String? = null, val failureAction: String? = null, val maxFailureRatio: String? = null, val monitor: String? = null, val order: String? = null, val parallelism: Int? = null)

Constructors

Link copied to clipboard
constructor(delay: String? = null, failureAction: String? = null, maxFailureRatio: String? = null, monitor: String? = null, order: String? = null, parallelism: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val delay: String? = null

Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to 0s.

Link copied to clipboard
val failureAction: String? = null

Action on rollback failure: pause | continue. Defaults to pause.

Link copied to clipboard
val maxFailureRatio: String? = null

Failure rate to tolerate during a rollback. Defaults to 0.0.

Link copied to clipboard
val monitor: String? = null

Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to 5s.

Link copied to clipboard
val order: String? = null

Rollback order: either 'stop-first' or 'start-first'. Defaults to stop-first.

Link copied to clipboard
val parallelism: Int? = null

Maximum number of tasks to be rollbacked in one iteration. Defaults to 1