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
ConstructorsConstructorDescriptionLocalVeniceChangelogConsumerProvider(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:
getVeniceChangelogConsumerin interfaceVeniceChangelogConsumerProvider<K,V> - Throws:
NoSuchMethodExceptionInvocationTargetExceptionInstantiationExceptionIllegalAccessException
-
getVeniceChangelogConsumer
public VeniceChangelogConsumer<K,V> getVeniceChangelogConsumer(String storeName, String consumerId) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException - Specified by:
getVeniceChangelogConsumerin interfaceVeniceChangelogConsumerProvider<K,V> - Throws:
NoSuchMethodExceptionInvocationTargetExceptionInstantiationExceptionIllegalAccessException
-