Class ChainedPubSubCallback

java.lang.Object
com.linkedin.venice.writer.ChainedPubSubCallback
All Implemented Interfaces:
PubSubProducerCallback

public class ChainedPubSubCallback extends Object implements PubSubProducerCallback
This class bundles a main PubSubProducerCallback and a list of dependent PubSubProducerCallback. When it completes either successfully or exceptionally, it will pass on the same result to the main callback and the list of the dependent callbacks. This class is intended to be used inside BatchingVeniceWriter for compacting buffered messages with the same key.