final case class FlinkConfig(restUrl: Option[String], jobManagerTimeout: FiniteDuration = 1 minute, shouldVerifyBeforeDeploy: Boolean = true, shouldCheckAvailableSlots: Boolean = true, waitForDuringDeployFinish: FlinkWaitForDuringDeployFinishedConfig = FlinkWaitForDuringDeployFinishedConfig(enabled = true, Some(180), Some(1 second)), scenarioStateRequestTimeout: FiniteDuration = 3 seconds, jobConfigsCacheSize: Int = 1000) extends Product with Serializable
FlinkConfig deployment configuration.
- restUrl
REST API endpoint of the Flink cluster.
- jobManagerTimeout
Timeout for communication with FLink cluster. Consider extending if e.g. you have long savepoint times etc.
- shouldVerifyBeforeDeploy
By default, before redeployment of scenario with state from savepoint, verification of savepoint compatibility is performed. There are some cases when it can be too time consuming or not possible. Use this flag to disable it.
- shouldCheckAvailableSlots
When true
FlinkDeploymentManager
checks if there are free slots to run new job. This check should be disabled on Flink Kubernetes Native deployments, where Taskmanager is started on demand.
- Alphabetic
- By Inheritance
- FlinkConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FlinkConfig(restUrl: Option[String], jobManagerTimeout: FiniteDuration = 1 minute, shouldVerifyBeforeDeploy: Boolean = true, shouldCheckAvailableSlots: Boolean = true, waitForDuringDeployFinish: FlinkWaitForDuringDeployFinishedConfig = FlinkWaitForDuringDeployFinishedConfig(enabled = true, Some(180), Some(1 second)), scenarioStateRequestTimeout: FiniteDuration = 3 seconds, jobConfigsCacheSize: Int = 1000)
- restUrl
REST API endpoint of the Flink cluster.
- jobManagerTimeout
Timeout for communication with FLink cluster. Consider extending if e.g. you have long savepoint times etc.
- shouldVerifyBeforeDeploy
By default, before redeployment of scenario with state from savepoint, verification of savepoint compatibility is performed. There are some cases when it can be too time consuming or not possible. Use this flag to disable it.
- shouldCheckAvailableSlots
When true
FlinkDeploymentManager
checks if there are free slots to run new job. This check should be disabled on Flink Kubernetes Native deployments, where Taskmanager is started on demand.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val jobConfigsCacheSize: Int
- val jobManagerTimeout: FiniteDuration
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val restUrl: Option[String]
- val scenarioStateRequestTimeout: FiniteDuration
- val shouldCheckAvailableSlots: Boolean
- val shouldVerifyBeforeDeploy: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val waitForDuringDeployFinish: FlinkWaitForDuringDeployFinishedConfig
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)