Class VeniceOfflinePushMonitorAccessor

java.lang.Object
com.linkedin.venice.helix.VeniceOfflinePushMonitorAccessor
All Implemented Interfaces:
OfflinePushAccessor

public class VeniceOfflinePushMonitorAccessor extends Object implements OfflinePushAccessor
Venice implementation of OfflinePushAccessor. All the statuses would be stored on Zookeeper and this class provides the ways to read/write/create/remove status from ZK.

As this class is only an accessor but not a repository so it will not cache anything in local memory. In other words it's stateless and Thread-Safe.

The data structure on ZK would be:

  • /OfflinePushes/$topic -> push status for $topic
  • /OfflinePushes/$topic/$partitionId -> partition status including all of replicas statuses for $topic and $partitionId.