Package com.linkedin.venice.views
Class ChangeCaptureView
java.lang.Object
com.linkedin.venice.views.VeniceView
com.linkedin.venice.views.ChangeCaptureView
-
Field Summary
Fields inherited from class com.linkedin.venice.views.VeniceView
props, storeName, VIEW_TOPIC_SEPARATOR, viewParameters
-
Constructor Summary
ConstructorDescriptionChangeCaptureView
(Properties props, String storeName, Map<String, String> viewParameters) -
Method Summary
Modifier and TypeMethodDescriptiongetTopicNamesAndConfigsForVersion
(int version) Implementations should override to return a map of topicName:topic Configs relevant for topic materialization (things like partition count, RF, etc.) TODO: Come up with list of config names that should be parsed by VeniceAdmin to pass along to TopicManager.Implementations should return the fully specified class name for the component VeniceViewWriter implementation.getWriterOptionsBuilder
(String viewTopicName, Version version) void
validateConfigs
(Store store) Validate that the configs set up for this view for this store are valid.Methods inherited from class com.linkedin.venice.views.VeniceView
close, isViewTopic, parseStoreFromViewTopic, parseVersionFromViewTopic
-
Field Details
-
CHANGE_CAPTURE_TOPIC_SUFFIX
- See Also:
-
CHANGE_CAPTURE_VIEW_WRITER_CLASS_NAME
- See Also:
-
-
Constructor Details
-
ChangeCaptureView
-
-
Method Details
-
getWriterOptionsBuilder
- Overrides:
getWriterOptionsBuilder
in classVeniceView
-
getTopicNamesAndConfigsForVersion
Description copied from class:VeniceView
Implementations should override to return a map of topicName:topic Configs relevant for topic materialization (things like partition count, RF, etc.) TODO: Come up with list of config names that should be parsed by VeniceAdmin to pass along to TopicManager.- Overrides:
getTopicNamesAndConfigsForVersion
in classVeniceView
- Returns:
- a map keyed by the name of the topic to be created and the configs which should be applied for that creation
-
getWriterClassName
Description copied from class:VeniceView
Implementations should return the fully specified class name for the component VeniceViewWriter implementation.- Overrides:
getWriterClassName
in classVeniceView
- Returns:
- returns the className of the writer which should be instantiated.
-
validateConfigs
Description copied from class:VeniceView
Validate that the configs set up for this view for this store are valid. If not, throw an exception. Implementors should override this function to add their own validation logic.- Overrides:
validateConfigs
in classVeniceView
-