Class OnlineVeniceProducer<K,V>
java.lang.Object
com.linkedin.venice.producer.AbstractVeniceProducer<K,V>
com.linkedin.venice.producer.online.OnlineVeniceProducer<K,V>
- All Implemented Interfaces:
VeniceProducer<K,,V> Closeable,AutoCloseable
An implementation of a VeniceProducer suitable for online applications. This producer only supports producing data to
a store's RT topic.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected VersionCreationResponseThis function should return aVersionCreationResponseto determine the PubSub topic and the characteristics that the producer should follow.Methods inherited from class com.linkedin.venice.producer.AbstractVeniceProducer
asyncDelete, asyncDelete, asyncPut, asyncPut, asyncUpdate, asyncUpdate, configure, constructVeniceWriter, getSerializer, isClosed
-
Method Details
-
requestTopic
Description copied from class:AbstractVeniceProducerThis function should return aVersionCreationResponseto determine the PubSub topic and the characteristics that the producer should follow.- Specified by:
requestTopicin classAbstractVeniceProducer<K,V>
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classAbstractVeniceProducer<K,V> - Throws:
IOException
-