Package com.linkedin.venice.controller
Class VeniceControllerClusterConfig
java.lang.Object
com.linkedin.venice.controller.VeniceControllerClusterConfig
Configuration which is specific to a Venice controller.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
long
int
int
int
int
int
int
long
long
boolean
getChildControllerD2ZkHost
(String fabric) getChildControllerUrl
(String fabric) Map where keys are logical, human-readable names for child clusters (suitable for printing in logs or other output) values are a list of cluster URLs that can be used to reach that cluster with the controller client.int
long
int
int
int
double
int
int
int
int
long
long
long
long
int
long
long
int
org.apache.helix.model.CloudConfig
int
int
int
long
long
int
int
long
int
int
int
int
int
long
int
int
int
int
int
int
long
getProps()
long
int
long
int
int
long
double
int
int
long
long
int
long
int
int
int
final String
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isParent()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Constructor Details
-
VeniceControllerClusterConfig
-
-
Method Details
-
getProps
-
getClusterName
-
getZkAddress
-
isErrorLeaderReplicaFailOverEnabled
public boolean isErrorLeaderReplicaFailOverEnabled() -
getDefaultReadQuotaPerRouter
public int getDefaultReadQuotaPerRouter() -
getDefaultMaxRecordSizeBytes
public int getDefaultMaxRecordSizeBytes() -
getControllerName
-
getPersistenceType
-
getReadStrategy
-
getOfflinePushStrategy
-
getRoutingStrategy
-
getReplicationFactor
public int getReplicationFactor() -
getMinNumberOfPartitions
public int getMinNumberOfPartitions() -
getMinNumberOfPartitionsForHybrid
public int getMinNumberOfPartitionsForHybrid() -
getKafkaReplicationFactor
public int getKafkaReplicationFactor() -
getKafkaReplicationFactorRTTopics
public int getKafkaReplicationFactorRTTopics() -
getPartitionSize
public long getPartitionSize() -
isDisableParentRequestTopicForStreamPushes
public boolean isDisableParentRequestTopicForStreamPushes() -
getMaxNumberOfPartitions
public int getMaxNumberOfPartitions() -
isPartitionCountRoundUpEnabled
public boolean isPartitionCountRoundUpEnabled() -
getPartitionCountRoundUpSize
public int getPartitionCountRoundUpSize() -
getOffLineJobWaitTimeInMilliseconds
public long getOffLineJobWaitTimeInMilliseconds() -
getDelayToRebalanceMS
public long getDelayToRebalanceMS() -
getKafkaBootstrapServers
- Returns:
- kafka Bootstrap Urls. If there is more than one url, they are separated by commas.
-
getClusterToD2Map
-
getClusterToServerD2Map
-
isSslToKafka
public boolean isSslToKafka() -
getSslKafkaBootstrapServers
-
getHelixSendMessageTimeoutMs
public int getHelixSendMessageTimeoutMs() -
getKafkaSecurityProtocol
-
getSslConfig
-
getSslFactoryClassName
-
getRefreshAttemptsForZkReconnect
public int getRefreshAttemptsForZkReconnect() -
getRefreshIntervalForZkReconnectInMs
public long getRefreshIntervalForZkReconnectInMs() -
isEnableOfflinePushSSLAllowlist
public boolean isEnableOfflinePushSSLAllowlist() -
getPushSSLAllowlist
-
isEnableNearlinePushSSLAllowlist
public boolean isEnableNearlinePushSSLAllowlist() -
getHelixRebalanceAlg
-
getAdminTopicReplicationFactor
public int getAdminTopicReplicationFactor() -
getMinInSyncReplicas
-
getMinInSyncReplicasRealTimeTopics
-
getMinInSyncReplicasAdminTopics
-
isKafkaLogCompactionForHybridStoresEnabled
public boolean isKafkaLogCompactionForHybridStoresEnabled() -
isActiveActiveReplicationEnabledAsDefaultForHybrid
public boolean isActiveActiveReplicationEnabledAsDefaultForHybrid() -
isControllerSchemaValidationEnabled
public boolean isControllerSchemaValidationEnabled() -
getLeakedPushStatusCleanUpServiceSleepIntervalInMs
public long getLeakedPushStatusCleanUpServiceSleepIntervalInMs() -
getLeakedResourceAllowedLingerTimeInMs
public long getLeakedResourceAllowedLingerTimeInMs() -
getNativeReplicationSourceFabricAsDefaultForBatchOnly
-
getNativeReplicationSourceFabricAsDefaultForHybrid
-
getJettyConfigOverrides
-
getReplicationMetadataVersion
public int getReplicationMetadataVersion() -
getChildDatacenters
-
enabledIncrementalPushForHybridActiveActiveUserStores
public boolean enabledIncrementalPushForHybridActiveActiveUserStores() -
enabledSeparateRealTimeTopicForStoreWithIncrementalPush
public boolean enabledSeparateRealTimeTopicForStoreWithIncrementalPush() -
isEnablePartialUpdateForHybridActiveActiveUserStores
public boolean isEnablePartialUpdateForHybridActiveActiveUserStores() -
isEnablePartialUpdateForHybridNonActiveActiveUserStores
public boolean isEnablePartialUpdateForHybridNonActiveActiveUserStores() -
getAdminPort
public int getAdminPort() -
getAdminHostname
-
getAdminSecurePort
public int getAdminSecurePort() -
getAdminGrpcPort
public int getAdminGrpcPort() -
getAdminSecureGrpcPort
public int getAdminSecureGrpcPort() -
adminCheckReadMethodForKafka
public boolean adminCheckReadMethodForKafka() -
getControllerClusterReplica
public int getControllerClusterReplica() -
getControllerClusterName
-
getControllerResourceInstanceGroupTag
-
getControllerInstanceTagList
-
getControllerClusterZkAddress
-
isMultiRegion
public boolean isMultiRegion() -
isParent
public boolean isParent() -
getParentControllerRegionState
-
getDeprecatedJobTopicRetentionMs
public long getDeprecatedJobTopicRetentionMs() -
getFatalDataValidationFailureRetentionMs
public long getFatalDataValidationFailureRetentionMs() -
getDeprecatedJobTopicMaxRetentionMs
public long getDeprecatedJobTopicMaxRetentionMs() -
getTopicCleanupSleepIntervalBetweenTopicListFetchMs
public long getTopicCleanupSleepIntervalBetweenTopicListFetchMs() -
getDisabledReplicaEnablerServiceIntervalMs
public long getDisabledReplicaEnablerServiceIntervalMs() -
getDaVinciPushStatusScanMaxOfflineInstanceCount
public int getDaVinciPushStatusScanMaxOfflineInstanceCount() -
getDaVinciPushStatusScanMaxOfflineInstanceRatio
public double getDaVinciPushStatusScanMaxOfflineInstanceRatio() -
getTopicCleanupDelayFactor
public int getTopicCleanupDelayFactor() -
getChildDataCenterControllerUrlMap
Map where keys are logical, human-readable names for child clusters (suitable for printing in logs or other output) values are a list of cluster URLs that can be used to reach that cluster with the controller client. List provides redundancy in case of hardware or other failure. Clients of this list should be sure they use another url if the first one fails. -
getD2ServiceName
-
getClusterDiscoveryD2ServiceName
-
isUnusedValueSchemaCleanupServiceEnabled
public boolean isUnusedValueSchemaCleanupServiceEnabled() -
getUnusedSchemaCleanupIntervalSeconds
public int getUnusedSchemaCleanupIntervalSeconds() -
getMinSchemaCountToKeep
public int getMinSchemaCountToKeep() -
useDaVinciSpecificExecutionStatusForError
public boolean useDaVinciSpecificExecutionStatusForError() -
getChildDataCenterControllerD2Map
-
getChildDataCenterKafkaUrlMap
-
getActiveActiveRealTimeSourceKafkaURLs
-
getNativeReplicationSourceFabric
-
getParentFabrics
-
getParentControllerWaitingTimeForConsumptionMs
public int getParentControllerWaitingTimeForConsumptionMs() -
getBatchJobHeartbeatStoreCluster
-
getBatchJobHeartbeatEnabled
public boolean getBatchJobHeartbeatEnabled() -
getBatchJobHeartbeatTimeout
-
getBatchJobHeartbeatInitialBufferTime
-
isEnableDisabledReplicaEnabled
public boolean isEnableDisabledReplicaEnabled() -
getAdminConsumptionCycleTimeoutMs
public long getAdminConsumptionCycleTimeoutMs() -
getAdminConsumptionMaxWorkerThreadPoolSize
public int getAdminConsumptionMaxWorkerThreadPoolSize() -
getStorageEngineOverheadRatio
public double getStorageEngineOverheadRatio() -
getTopicManagerMetadataFetcherConsumerPoolSize
public int getTopicManagerMetadataFetcherConsumerPoolSize() -
getTopicManagerMetadataFetcherThreadPoolSize
public int getTopicManagerMetadataFetcherThreadPoolSize() -
getMinNumberOfUnusedKafkaTopicsToPreserve
public int getMinNumberOfUnusedKafkaTopicsToPreserve() -
getMinNumberOfStoreVersionsToPreserve
public int getMinNumberOfStoreVersionsToPreserve() -
getParentControllerMaxErroredTopicNumToKeep
public int getParentControllerMaxErroredTopicNumToKeep() -
getPushJobStatusStoreClusterName
-
isParticipantMessageStoreEnabled
public boolean isParticipantMessageStoreEnabled() -
isDaVinciPushStatusEnabled
public boolean isDaVinciPushStatusEnabled() -
getSystemSchemaClusterName
-
isAdminHelixMessagingChannelEnabled
public boolean isAdminHelixMessagingChannelEnabled() -
isControllerClusterLeaderHAAS
public boolean isControllerClusterLeaderHAAS() -
isVeniceClusterLeaderHAAS
public boolean isVeniceClusterLeaderHAAS() -
getControllerHAASSuperClusterName
-
isEarlyDeleteBackUpEnabled
public boolean isEarlyDeleteBackUpEnabled() -
getErrorPartitionAutoResetLimit
public int getErrorPartitionAutoResetLimit() -
getErrorPartitionProcessingCycleDelay
public long getErrorPartitionProcessingCycleDelay() -
getBackupVersionDefaultRetentionMs
public long getBackupVersionDefaultRetentionMs() -
getBackupVersionCleanupSleepMs
public long getBackupVersionCleanupSleepMs() -
isBackupVersionRetentionBasedCleanupEnabled
public boolean isBackupVersionRetentionBasedCleanupEnabled() -
isBackupVersionMetadataFetchBasedCleanupEnabled
public boolean isBackupVersionMetadataFetchBasedCleanupEnabled() -
isControllerEnforceSSLOnly
public boolean isControllerEnforceSSLOnly() -
isGrpcServerEnabled
public boolean isGrpcServerEnabled() -
getGrpcServerThreadCount
public int getGrpcServerThreadCount() -
getTerminalStateTopicCheckerDelayMs
public long getTerminalStateTopicCheckerDelayMs() -
disableParentTopicTruncationUponCompletion
public boolean disableParentTopicTruncationUponCompletion() -
getPushStatusStoreHeartbeatExpirationTimeInSeconds
public long getPushStatusStoreHeartbeatExpirationTimeInSeconds() -
isDaVinciPushStatusStoreEnabled
public boolean isDaVinciPushStatusStoreEnabled() -
getDaVinciPushStatusScanIntervalInSeconds
public int getDaVinciPushStatusScanIntervalInSeconds() -
isDaVinciPushStatusScanEnabled
public boolean isDaVinciPushStatusScanEnabled() -
getDaVinciPushStatusScanThreadNumber
public int getDaVinciPushStatusScanThreadNumber() -
getDaVinciPushStatusScanNoReportRetryMaxAttempt
public int getDaVinciPushStatusScanNoReportRetryMaxAttempt() -
getSystemStoreAclSynchronizationDelayMs
public long getSystemStoreAclSynchronizationDelayMs() -
getRegionName
-
getDisabledRoutes
-
isAdminTopicRemoteConsumptionEnabled
public boolean isAdminTopicRemoteConsumptionEnabled() -
getAdminTopicSourceRegion
-
getAggregateRealTimeSourceRegion
-
isAutoMaterializeMetaSystemStoreEnabled
public boolean isAutoMaterializeMetaSystemStoreEnabled() -
isAutoMaterializeDaVinciPushStatusSystemStoreEnabled
public boolean isAutoMaterializeDaVinciPushStatusSystemStoreEnabled() -
getEmergencySourceRegion
-
getChildControllerUrl
-
getChildControllerD2ServiceName
-
getChildControllerD2ZkHost
-
isClusterWipeAllowed
public boolean isClusterWipeAllowed() -
isConcurrentInitRoutinesEnabled
public boolean isConcurrentInitRoutinesEnabled() -
isControllerClusterHelixCloudEnabled
public boolean isControllerClusterHelixCloudEnabled() -
isStorageClusterHelixCloudEnabled
public boolean isStorageClusterHelixCloudEnabled() -
getHelixCloudConfig
public org.apache.helix.model.CloudConfig getHelixCloudConfig() -
getHelixRestCustomizedHealthUrl
-
usePushStatusStoreForIncrementalPush
public boolean usePushStatusStoreForIncrementalPush() -
getMetaStoreWriterCloseTimeoutInMS
public long getMetaStoreWriterCloseTimeoutInMS() -
getMetaStoreWriterCloseConcurrency
public int getMetaStoreWriterCloseConcurrency() -
isUnregisterMetricForDeletedStoreEnabled
public boolean isUnregisterMetricForDeletedStoreEnabled() -
getIdentityParserClassName
-
isStoreGraveyardCleanupEnabled
public boolean isStoreGraveyardCleanupEnabled() -
getStoreGraveyardCleanupDelayMinutes
public int getStoreGraveyardCleanupDelayMinutes() -
getStoreGraveyardCleanupSleepIntervalBetweenListFetchMinutes
public int getStoreGraveyardCleanupSleepIntervalBetweenListFetchMinutes() -
isParentSystemStoreRepairServiceEnabled
public boolean isParentSystemStoreRepairServiceEnabled() -
getParentSystemStoreRepairCheckIntervalSeconds
public int getParentSystemStoreRepairCheckIntervalSeconds() -
getParentSystemStoreHeartbeatCheckWaitTimeSeconds
public int getParentSystemStoreHeartbeatCheckWaitTimeSeconds() -
getParentSystemStoreRepairRetryCount
public int getParentSystemStoreRepairRetryCount() -
isParentExternalSupersetSchemaGenerationEnabled
public boolean isParentExternalSupersetSchemaGenerationEnabled() -
isSystemSchemaInitializationAtStartTimeEnabled
public boolean isSystemSchemaInitializationAtStartTimeEnabled() -
isKMERegistrationFromMessageHeaderEnabled
public boolean isKMERegistrationFromMessageHeaderEnabled() -
getPubSubClientsFactory
-
getSourceOfTruthAdminAdapterFactory
-
getServiceDiscoveryRegistrationRetryMS
public long getServiceDiscoveryRegistrationRetryMS() -
getDanglingTopicCleanupIntervalSeconds
public long getDanglingTopicCleanupIntervalSeconds() -
getDanglingTopicOccurrenceThresholdForCleanup
public int getDanglingTopicOccurrenceThresholdForCleanup() -
isHybridStorePartitionCountUpdateEnabled
public boolean isHybridStorePartitionCountUpdateEnabled() -
getPushJobUserErrorCheckpoints
-