Package com.linkedin.venice
Class TopicMessageFinder
java.lang.Object
com.linkedin.venice.TopicMessageFinder
This class is used to find messages for a given key from a specified topic.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
find
(ControllerClient controllerClient, PubSubConsumerAdapter consumer, String topic, String keyString, long startTimestampEpochMs, long endTimestampEpochMs, long progressInterval) protected static TopicMessageFinder.KeyPartitionInfo
findPartitionIdForKey
(ControllerClient controllerClient, String storeName, int versionNumber, String key, String keySchemaStr) static byte[]
serializeKey
(String keyString, String keySchemaStr)
-
Constructor Details
-
TopicMessageFinder
public TopicMessageFinder()
-
-
Method Details
-
find
public static long find(ControllerClient controllerClient, PubSubConsumerAdapter consumer, String topic, String keyString, long startTimestampEpochMs, long endTimestampEpochMs, long progressInterval) -
serializeKey
-
findPartitionIdForKey
protected static TopicMessageFinder.KeyPartitionInfo findPartitionIdForKey(ControllerClient controllerClient, String storeName, int versionNumber, String key, String keySchemaStr)
-