Class LocalVeniceChangelogConsumerProvider<K,V>
- java.lang.Object
-
- com.linkedin.venice.beam.consumer.LocalVeniceChangelogConsumerProvider<K,V>
-
- All Implemented Interfaces:
VeniceChangelogConsumerProvider<K,V>
,java.io.Serializable
public class LocalVeniceChangelogConsumerProvider<K,V> extends java.lang.Object implements VeniceChangelogConsumerProvider<K,V>
Provides a configuredVeniceChangelogConsumer
instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalVeniceChangelogConsumerProvider(java.lang.Class<? extends VeniceChangelogConsumerClientFactory> veniceChangelogConsumerClientFactoryClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VeniceChangelogConsumer<K,V>
getVeniceChangelogConsumer(java.lang.String storeName)
VeniceChangelogConsumer<K,V>
getVeniceChangelogConsumer(java.lang.String storeName, java.lang.String consumerId)
-
-
-
Constructor Detail
-
LocalVeniceChangelogConsumerProvider
public LocalVeniceChangelogConsumerProvider(java.lang.Class<? extends VeniceChangelogConsumerClientFactory> veniceChangelogConsumerClientFactoryClass)
-
-
Method Detail
-
getVeniceChangelogConsumer
public VeniceChangelogConsumer<K,V> getVeniceChangelogConsumer(java.lang.String storeName) throws java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException, java.lang.InstantiationException, java.lang.IllegalAccessException
- Specified by:
getVeniceChangelogConsumer
in interfaceVeniceChangelogConsumerProvider<K,V>
- Throws:
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException
java.lang.IllegalAccessException
-
getVeniceChangelogConsumer
public VeniceChangelogConsumer<K,V> getVeniceChangelogConsumer(java.lang.String storeName, java.lang.String consumerId) throws java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException, java.lang.InstantiationException, java.lang.IllegalAccessException
- Specified by:
getVeniceChangelogConsumer
in interfaceVeniceChangelogConsumerProvider<K,V>
- Throws:
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException
java.lang.IllegalAccessException
-
-