Package com.linkedin.venice.utils
Class PubSubHelper
java.lang.Object
com.linkedin.venice.utils.PubSubHelper
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic KafkaKey
static KafkaKey
getDummyKey
(boolean isControlMessage) getDummyPubSubMessage
(boolean isControlMessage) static KafkaMessageEnvelope
static KafkaMessageEnvelope
getDummyValue
(long producerMessageTimestamp) produceMessages
(PubSubProducerAdapter pubSubProducerAdapter, PubSubTopicPartition topicPartition, int messageCount, long delayBetweenMessagesInMs, boolean controlMessages)
-
Constructor Details
-
PubSubHelper
public PubSubHelper()
-
-
Method Details
-
getDummyKey
-
getDummyKey
-
getDummyValue
-
getDummyValue
-
getDummyPubSubMessage
-
produceMessages
public static List<PubSubHelper.MutablePubSubMessage> produceMessages(PubSubProducerAdapter pubSubProducerAdapter, PubSubTopicPartition topicPartition, int messageCount, long delayBetweenMessagesInMs, boolean controlMessages) throws InterruptedException, ExecutionException, TimeoutException
-