Class ComparablePubSubPosition

java.lang.Object
com.linkedin.venice.spark.consistency.ComparablePubSubPosition
All Implemented Interfaces:
Comparable<ComparablePubSubPosition>

public class ComparablePubSubPosition extends Object implements Comparable<ComparablePubSubPosition>
Wraps a PubSubPosition with the TopicManager and PubSubTopicPartition needed to compare it, exposing a Comparable interface. This allows the lily-pad algorithm in LilyPadUtils and DiffValidationUtils to remain generic and free of pub-sub infrastructure dependencies.