Package com.linkedin.davinci.consumer
Class ChangelogClientConfig<T extends org.apache.avro.specific.SpecificRecord>
java.lang.Object
com.linkedin.davinci.consumer.ChangelogClientConfig<T>
public class ChangelogClientConfig<T extends org.apache.avro.specific.SpecificRecord>
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V extends org.apache.avro.specific.SpecificRecord>
ChangelogClientConfig<V>cloneConfig
(ChangelogClientConfig<V> config) int
com.linkedin.d2.balancer.D2Client
long
Gets the databaseSyncBytesInterval.long
long
protected Boolean
setBootstrapFileSystemPath
(String bootstrapFileSystemPath) setConsumerName
(String consumerName) setConsumerProperties
(Properties consumerProperties) setControllerD2ServiceName
(String controllerD2ServiceName) setControllerRequestRetryCount
(int controllerRequestRetryCount) setD2Client
(com.linkedin.d2.balancer.D2Client d2Client) setD2ControllerClient
(D2ControllerClient d2ControllerClient) setD2ServiceName
(String d2ServiceName) setDatabaseSyncBytesInterval
(long databaseSyncBytesInterval) Sets the value for databaseSyncBytesInterval.setIsBeforeImageView
(Boolean beforeImageView) setLocalD2ZkHosts
(String localD2ZkHosts) setRocksDBBlockCacheSizeInBytes
(long rocksDBBlockCacheSizeInBytes) setSchemaReader
(SchemaReader schemaReader) setShouldCompactMessages
(boolean compactMessages) setSpecificValue
(Class<T> specificValue) setStoreName
(String storeName) setVersionSwapDetectionIntervalTimeInSeconds
(long intervalTimeInSeconds) setViewName
(String viewName) boolean
-
Constructor Details
-
ChangelogClientConfig
-
ChangelogClientConfig
public ChangelogClientConfig()
-
-
Method Details
-
setStoreName
-
getStoreName
-
setConsumerProperties
-
getConsumerProperties
-
setSchemaReader
-
getSchemaReader
-
setViewName
-
setConsumerName
-
setShouldCompactMessages
-
getViewName
-
getConsumerName
-
shouldCompactMessages
public boolean shouldCompactMessages() -
setControllerD2ServiceName
-
getControllerD2ServiceName
-
setD2ServiceName
-
getD2ServiceName
-
setD2ControllerClient
-
getD2ControllerClient
-
setD2Client
-
getD2Client
public com.linkedin.d2.balancer.D2Client getD2Client() -
setLocalD2ZkHosts
-
getLocalD2ZkHosts
-
setControllerRequestRetryCount
-
getControllerRequestRetryCount
public int getControllerRequestRetryCount() -
getInnerClientConfig
-
setBootstrapFileSystemPath
-
getBootstrapFileSystemPath
-
getVersionSwapDetectionIntervalTimeInSeconds
public long getVersionSwapDetectionIntervalTimeInSeconds() -
setVersionSwapDetectionIntervalTimeInSeconds
public ChangelogClientConfig setVersionSwapDetectionIntervalTimeInSeconds(long intervalTimeInSeconds) -
getDatabaseSyncBytesInterval
public long getDatabaseSyncBytesInterval()Gets the databaseSyncBytesInterval. -
setDatabaseSyncBytesInterval
Sets the value for databaseSyncBytesInterval. -
getRocksDBBlockCacheSizeInBytes
public long getRocksDBBlockCacheSizeInBytes() -
setRocksDBBlockCacheSizeInBytes
-
setSpecificValue
-
cloneConfig
public static <V extends org.apache.avro.specific.SpecificRecord> ChangelogClientConfig<V> cloneConfig(ChangelogClientConfig<V> config) -
isBeforeImageView
-
setIsBeforeImageView
-