Package com.linkedin.venice.meta
Class ETLStoreConfigImpl
java.lang.Object
com.linkedin.venice.meta.ETLStoreConfigImpl
- All Implemented Interfaces:
DataModelBackedStructure<StoreETLConfig>,ETLStoreConfig
A container of ETL Enabled Store related configurations.
-
Constructor Summary
ConstructorsConstructorDescriptionETLStoreConfigImpl(String etledUserProxyAccount, boolean regularVersionETLEnabled, boolean futureVersionETLEnabled, int etlStrategy, List<String> etlActiveFabrics) -
Method Summary
Modifier and TypeMethodDescriptionclone()Return the backed data model.booleanAllowlist of fabric names where the controller fires onboardETL / offboardETL on the ExternalETLService.Users the external ETL service should grant access to when it first onboards this store in a fabric.SLA tier the external ETL service should use when it first onboards this store in a fabric.ETL workload type the external ETL service should use when it first onboards this store in a fabric.inthashCode()booleanbooleanvoidsetEtlActiveFabrics(List<String> etlActiveFabrics) voidsetEtledUserProxyAccount(String etledUserProxyAccount) voidsetETLStrategy(VeniceETLStrategy etlStrategy) voidsetFutureVersionETLEnabled(boolean futureVersionETLEnabled) voidsetInitialGrantAclUsers(List<String> initialGrantAclUsers) voidsetInitialSlaTier(String initialSlaTier) voidsetInitialWorkloadType(String initialWorkloadType) voidsetRegularVersionETLEnabled(boolean regularVersionETLEnabled)
-
Constructor Details
-
ETLStoreConfigImpl
-
ETLStoreConfigImpl
public ETLStoreConfigImpl()
-
-
Method Details
-
getEtledUserProxyAccount
- Specified by:
getEtledUserProxyAccountin interfaceETLStoreConfig
-
setEtledUserProxyAccount
- Specified by:
setEtledUserProxyAccountin interfaceETLStoreConfig
-
isRegularVersionETLEnabled
public boolean isRegularVersionETLEnabled()- Specified by:
isRegularVersionETLEnabledin interfaceETLStoreConfig
-
setRegularVersionETLEnabled
public void setRegularVersionETLEnabled(boolean regularVersionETLEnabled) - Specified by:
setRegularVersionETLEnabledin interfaceETLStoreConfig
-
isFutureVersionETLEnabled
public boolean isFutureVersionETLEnabled()- Specified by:
isFutureVersionETLEnabledin interfaceETLStoreConfig
-
setFutureVersionETLEnabled
public void setFutureVersionETLEnabled(boolean futureVersionETLEnabled) - Specified by:
setFutureVersionETLEnabledin interfaceETLStoreConfig
-
getETLStrategy
- Specified by:
getETLStrategyin interfaceETLStoreConfig
-
setETLStrategy
- Specified by:
setETLStrategyin interfaceETLStoreConfig
-
getEtlActiveFabrics
Description copied from interface:ETLStoreConfigAllowlist of fabric names where the controller fires onboardETL / offboardETL on the ExternalETLService.nullmeans "no restriction; fire in every fabric" (default behavior). A non-empty list restricts firing to only the listed fabrics. An empty list is rejected by the parent controller validator; to disable ETL across all fabrics, setETLStoreConfig.setRegularVersionETLEnabled(boolean)andETLStoreConfig.setFutureVersionETLEnabled(boolean)to false instead.- Specified by:
getEtlActiveFabricsin interfaceETLStoreConfig
-
setEtlActiveFabrics
- Specified by:
setEtlActiveFabricsin interfaceETLStoreConfig
-
getInitialSlaTier
Description copied from interface:ETLStoreConfigSLA tier the external ETL service should use when it first onboards this store in a fabric. It is sent with every onboard request and never synced back from the external ETL service, so it does not reflect the store's current tier.nullmeans not set.- Specified by:
getInitialSlaTierin interfaceETLStoreConfig
-
setInitialSlaTier
- Specified by:
setInitialSlaTierin interfaceETLStoreConfig
-
getInitialGrantAclUsers
Description copied from interface:ETLStoreConfigUsers the external ETL service should grant access to when it first onboards this store in a fabric. Sent with every onboard request and never synced back from the external ETL service.nullmeans not set.- Specified by:
getInitialGrantAclUsersin interfaceETLStoreConfig
-
setInitialGrantAclUsers
- Specified by:
setInitialGrantAclUsersin interfaceETLStoreConfig
-
getInitialWorkloadType
Description copied from interface:ETLStoreConfigETL workload type the external ETL service should use when it first onboards this store in a fabric. Unrelated to the store-levelStore.getWorkloadType(). Sent with every onboard request and never synced back from the external ETL service.nullmeans not set.- Specified by:
getInitialWorkloadTypein interfaceETLStoreConfig
-
setInitialWorkloadType
- Specified by:
setInitialWorkloadTypein interfaceETLStoreConfig
-
dataModel
Description copied from interface:DataModelBackedStructureReturn the backed data model.- Specified by:
dataModelin interfaceDataModelBackedStructure<StoreETLConfig>- Returns:
-
equals
-
hashCode
public int hashCode() -
clone
- Specified by:
clonein interfaceETLStoreConfig- Overrides:
clonein classObject
-