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 TypeMethodDescriptionvoid
close()
protected VersionCreationResponse
This function should return aVersionCreationResponse
to 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:AbstractVeniceProducer
This function should return aVersionCreationResponse
to determine the PubSub topic and the characteristics that the producer should follow.- Specified by:
requestTopic
in classAbstractVeniceProducer<K,
V>
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classAbstractVeniceProducer<K,
V> - Throws:
IOException
-