Package com.linkedin.venice.pubsub.api
Interface PubSubProducerCallback
-
- All Known Subinterfaces:
ChunkAwareCallback
- All Known Implementing Classes:
AbstractPartitionWriter.PartitionWriterProducerCallback
,ActiveActiveProducerCallback
,CompletableFutureCallback
,LeaderProducerCallback
,PubSubProducerCallbackSimpleImpl
public interface PubSubProducerCallback
A callback interface that users of PubSubProducerAdapter should implement if they want to execute some code once PubSubProducerAdapter#sendMessage request is completed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCompletion(PubSubProduceResult produceResult, java.lang.Exception exception)
exception will be null if request was completed without an error.
-
-
-
Method Detail
-
onCompletion
void onCompletion(PubSubProduceResult produceResult, java.lang.Exception exception)
exception will be null if request was completed without an error.
-
-