final case class FlinkConfig(restUrl: Option[String], jobManagerTimeout: FiniteDuration = 1 minute, shouldVerifyBeforeDeploy: Boolean = true, shouldCheckAvailableSlots: Boolean = true, waitForDuringDeployFinish: FlinkWaitForDuringDeployFinishedConfig = ..., 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
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
FlinkConfig(restUrl: Option[String], jobManagerTimeout: FiniteDuration = 1 minute, shouldVerifyBeforeDeploy: Boolean = true, shouldCheckAvailableSlots: Boolean = true, waitForDuringDeployFinish: FlinkWaitForDuringDeployFinishedConfig = ..., 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( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val waitForDuringDeployFinish: FlinkWaitForDuringDeployFinishedConfig
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.