Class LocalVeniceChangelogConsumerProvider<K,V>
java.lang.Object
com.linkedin.venice.beam.consumer.LocalVeniceChangelogConsumerProvider<K,V>
- All Implemented Interfaces:
VeniceChangelogConsumerProvider<K,
,V> Serializable
public class LocalVeniceChangelogConsumerProvider<K,V>
extends Object
implements VeniceChangelogConsumerProvider<K,V>
Provides a configured
VeniceChangelogConsumer
instance.- See Also:
-
Constructor Summary
ConstructorDescriptionLocalVeniceChangelogConsumerProvider
(Class<? extends VeniceChangelogConsumerClientFactory> veniceChangelogConsumerClientFactoryClass) -
Method Summary
Modifier and TypeMethodDescriptiongetVeniceChangelogConsumer
(String storeName) getVeniceChangelogConsumer
(String storeName, String consumerId)
-
Constructor Details
-
LocalVeniceChangelogConsumerProvider
public LocalVeniceChangelogConsumerProvider(Class<? extends VeniceChangelogConsumerClientFactory> veniceChangelogConsumerClientFactoryClass)
-
-
Method Details
-
getVeniceChangelogConsumer
public VeniceChangelogConsumer<K,V> getVeniceChangelogConsumer(String storeName) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException - Specified by:
getVeniceChangelogConsumer
in interfaceVeniceChangelogConsumerProvider<K,
V> - Throws:
NoSuchMethodException
InvocationTargetException
InstantiationException
IllegalAccessException
-
getVeniceChangelogConsumer
public VeniceChangelogConsumer<K,V> getVeniceChangelogConsumer(String storeName, String consumerId) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException - Specified by:
getVeniceChangelogConsumer
in interfaceVeniceChangelogConsumerProvider<K,
V> - Throws:
NoSuchMethodException
InvocationTargetException
InstantiationException
IllegalAccessException
-