Package com.linkedin.venice.samza
Class VeniceSystemProducerConfig
java.lang.Object
com.linkedin.venice.samza.VeniceSystemProducerConfig
Configuration options for constructing a
VeniceSystemProducer.
Use the VeniceSystemProducerConfig.Builder to create instances.
Three mutually exclusive connection modes are supported:
- ZK-based: set veniceChildD2ZkHost, primaryControllerColoD2ZKHost, and primaryControllerD2ServiceName
- D2Client-based: set providedChildColoD2Client, providedPrimaryControllerColoD2Client, and primaryControllerD2ServiceName
- Discovery-URL-based: set discoveryUrl-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncom.linkedin.d2.balancer.D2Clientcom.linkedin.d2.balancer.D2Clientorg.apache.samza.config.ConfiggetTime()booleanReturns a newVeniceSystemProducerConfig.Builderpre-populated with all fields from this config instance.
-
Method Details
-
getStoreName
-
getPushType
-
getSamzaJobId
-
getRunningFabric
-
isVerifyLatestProtocolPresent
public boolean isVerifyLatestProtocolPresent() -
getVeniceChildD2ZkHost
-
getPrimaryControllerColoD2ZKHost
-
getPrimaryControllerD2ServiceName
-
getProvidedChildColoD2Client
public com.linkedin.d2.balancer.D2Client getProvidedChildColoD2Client() -
getProvidedPrimaryControllerColoD2Client
public com.linkedin.d2.balancer.D2Client getProvidedPrimaryControllerColoD2Client() -
getDiscoveryUrl
-
getFactory
-
getSslFactory
-
getPartitioners
-
getTime
-
getWriterHook
-
getSamzaConfig
public org.apache.samza.config.Config getSamzaConfig() -
getRouterUrl
-
toBuilder
Returns a newVeniceSystemProducerConfig.Builderpre-populated with all fields from this config instance. This is useful when a subclass needs to create a modified copy of an existing config (e.g., to add a writer hook) without manually copying every field.
-