Package com.linkedin.venice.pubsub.api
Class PubSubProducerAdapterConcurrentDelegator.ProducerQueueNode
java.lang.Object
com.linkedin.venice.pubsub.api.PubSubProducerAdapterConcurrentDelegator.ProducerQueueNode
- All Implemented Interfaces:
Measurable
- Enclosing class:
- PubSubProducerAdapterConcurrentDelegator
public static class PubSubProducerAdapterConcurrentDelegator.ProducerQueueNode
extends Object
implements Measurable
-
Constructor Summary
ConstructorDescriptionProducerQueueNode
(String topic, int partition, KafkaKey key, KafkaMessageEnvelope value, PubSubMessageHeaders headers, PubSubProducerCallback callback, CompletableFuture<PubSubProduceResult> produceFuture) -
Method Summary
-
Constructor Details
-
ProducerQueueNode
public ProducerQueueNode(String topic, int partition, KafkaKey key, KafkaMessageEnvelope value, PubSubMessageHeaders headers, PubSubProducerCallback callback, CompletableFuture<PubSubProduceResult> produceFuture)
-
-
Method Details
-
getHeapSize
public int getHeapSize()- Specified by:
getHeapSize
in interfaceMeasurable
-