Package io.strimzi.api.kafka.model
Class EntityTopicOperatorSpec
java.lang.Object
io.strimzi.api.kafka.model.EntityTopicOperatorSpec
- All Implemented Interfaces:
HasConfigurableLogging,HasLivenessProbe,HasReadinessProbe,HasStartupProbe,UnknownPropertyPreserving,Serializable
public class EntityTopicOperatorSpec
extends Object
implements HasConfigurableLogging, HasLivenessProbe, HasReadinessProbe, HasStartupProbe, UnknownPropertyPreserving, Serializable
Representation of a Strimzi-managed Topic Operator deployment.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final Stringstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetImage()Gets the liveness probe configurationGets the logging configurationGets the readiness probe configurationintio.fabric8.kubernetes.api.model.ResourceRequirementsGets the startup probe configurationintintvoidsetAdditionalProperty(String name, Object value) voidvoidsetJvmOptions(JvmOptions jvmOptions) voidsetLivenessProbe(Probe livenessProbe) Sets the liveness probe configurationvoidsetLogging(Logging logging) Sets the logging configurationvoidsetReadinessProbe(Probe readinessProbe) Sets the readiness probe configurationvoidsetReconciliationIntervalSeconds(int reconciliationIntervalSeconds) voidsetResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources) voidsetStartupProbe(Probe startupProbe) Sets the startup probe configurationvoidsetTopicMetadataMaxAttempts(int topicMetadataMaxAttempts) voidsetWatchedNamespace(String watchedNamespace) voidsetZookeeperSessionTimeoutSeconds(int zookeeperSessionTimeoutSeconds)
-
Field Details
-
DEFAULT_REPLICAS
public static final int DEFAULT_REPLICAS- See Also:
-
DEFAULT_ZOOKEEPER_PORT
public static final int DEFAULT_ZOOKEEPER_PORT- See Also:
-
DEFAULT_FULL_RECONCILIATION_INTERVAL_SECONDS
public static final int DEFAULT_FULL_RECONCILIATION_INTERVAL_SECONDS- See Also:
-
DEFAULT_ZOOKEEPER_SESSION_TIMEOUT_SECONDS
public static final int DEFAULT_ZOOKEEPER_SESSION_TIMEOUT_SECONDS- See Also:
-
DEFAULT_TOPIC_METADATA_MAX_ATTEMPTS
public static final int DEFAULT_TOPIC_METADATA_MAX_ATTEMPTS- See Also:
-
DEFAULT_SECURITY_PROTOCOL
- See Also:
-
-
Constructor Details
-
EntityTopicOperatorSpec
public EntityTopicOperatorSpec()
-
-
Method Details
-
getWatchedNamespace
-
setWatchedNamespace
-
getImage
-
setImage
-
getReconciliationIntervalSeconds
public int getReconciliationIntervalSeconds() -
setReconciliationIntervalSeconds
public void setReconciliationIntervalSeconds(int reconciliationIntervalSeconds) -
getZookeeperSessionTimeoutSeconds
public int getZookeeperSessionTimeoutSeconds() -
setZookeeperSessionTimeoutSeconds
public void setZookeeperSessionTimeoutSeconds(int zookeeperSessionTimeoutSeconds) -
getTopicMetadataMaxAttempts
public int getTopicMetadataMaxAttempts() -
setTopicMetadataMaxAttempts
public void setTopicMetadataMaxAttempts(int topicMetadataMaxAttempts) -
getResources
public io.fabric8.kubernetes.api.model.ResourceRequirements getResources() -
setResources
public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources) -
getStartupProbe
Description copied from interface:HasStartupProbeGets the startup probe configuration- Specified by:
getStartupProbein interfaceHasStartupProbe- Returns:
- Startup probe configuration
-
setStartupProbe
Description copied from interface:HasStartupProbeSets the startup probe configuration- Specified by:
setStartupProbein interfaceHasStartupProbe- Parameters:
startupProbe- Startup probe configuration
-
getLivenessProbe
Description copied from interface:HasLivenessProbeGets the liveness probe configuration- Specified by:
getLivenessProbein interfaceHasLivenessProbe- Returns:
- Liveness probe configuration
-
setLivenessProbe
Description copied from interface:HasLivenessProbeSets the liveness probe configuration- Specified by:
setLivenessProbein interfaceHasLivenessProbe- Parameters:
livenessProbe- Liveness probe configuration
-
getReadinessProbe
Description copied from interface:HasReadinessProbeGets the readiness probe configuration- Specified by:
getReadinessProbein interfaceHasReadinessProbe- Returns:
- Readiness probe configuration
-
setReadinessProbe
Description copied from interface:HasReadinessProbeSets the readiness probe configuration- Specified by:
setReadinessProbein interfaceHasReadinessProbe- Parameters:
readinessProbe- Readiness probe configuration
-
getLogging
Description copied from interface:HasConfigurableLoggingGets the logging configuration- Specified by:
getLoggingin interfaceHasConfigurableLogging- Returns:
- Logging configuration
-
setLogging
Description copied from interface:HasConfigurableLoggingSets the logging configuration- Specified by:
setLoggingin interfaceHasConfigurableLogging- Parameters:
logging- Logging configuration
-
getAdditionalProperties
- Specified by:
getAdditionalPropertiesin interfaceUnknownPropertyPreserving
-
setAdditionalProperty
- Specified by:
setAdditionalPropertyin interfaceUnknownPropertyPreserving
-
getJvmOptions
-
setJvmOptions
-