Class PushStatusNotifier

  • All Implemented Interfaces:
    VeniceNotifier, java.io.Closeable, java.lang.AutoCloseable

    public class PushStatusNotifier
    extends java.lang.Object
    implements VeniceNotifier
    Notifies both OfflinePushStatus and Helix Customized View
    • Method Detail

      • started

        public void started​(java.lang.String topic,
                            int partitionId,
                            java.lang.String message)
        Specified by:
        started in interface VeniceNotifier
      • restarted

        public void restarted​(java.lang.String topic,
                              int partitionId,
                              long offset,
                              java.lang.String message)
        Specified by:
        restarted in interface VeniceNotifier
      • completed

        public void completed​(java.lang.String topic,
                              int partitionId,
                              long offset,
                              java.lang.String message)
        Specified by:
        completed in interface VeniceNotifier
      • quotaViolated

        public void quotaViolated​(java.lang.String topic,
                                  int partitionId,
                                  long offset,
                                  java.lang.String message)
        Specified by:
        quotaViolated in interface VeniceNotifier
      • quotaNotViolated

        public void quotaNotViolated​(java.lang.String topic,
                                     int partitionId,
                                     long offset,
                                     java.lang.String message)
        Specified by:
        quotaNotViolated in interface VeniceNotifier
      • progress

        public void progress​(java.lang.String topic,
                             int partitionId,
                             long offset,
                             java.lang.String message)
        Specified by:
        progress in interface VeniceNotifier
      • endOfPushReceived

        public void endOfPushReceived​(java.lang.String topic,
                                      int partitionId,
                                      long offset,
                                      java.lang.String message)
        Specified by:
        endOfPushReceived in interface VeniceNotifier
      • topicSwitchReceived

        public void topicSwitchReceived​(java.lang.String topic,
                                        int partitionId,
                                        long offset,
                                        java.lang.String message)
        Specified by:
        topicSwitchReceived in interface VeniceNotifier
      • dataRecoveryCompleted

        public void dataRecoveryCompleted​(java.lang.String kafkaTopic,
                                          int partitionId,
                                          long offset,
                                          java.lang.String message)
        Specified by:
        dataRecoveryCompleted in interface VeniceNotifier
      • startOfIncrementalPushReceived

        public void startOfIncrementalPushReceived​(java.lang.String topic,
                                                   int partitionId,
                                                   long offset,
                                                   java.lang.String message)
        Specified by:
        startOfIncrementalPushReceived in interface VeniceNotifier
      • endOfIncrementalPushReceived

        public void endOfIncrementalPushReceived​(java.lang.String topic,
                                                 int partitionId,
                                                 long offset,
                                                 java.lang.String message)
        Specified by:
        endOfIncrementalPushReceived in interface VeniceNotifier
      • batchEndOfIncrementalPushReceived

        public void batchEndOfIncrementalPushReceived​(java.lang.String topic,
                                                      int partitionId,
                                                      long offset,
                                                      java.util.List<java.lang.String> pendingReportIncPushVersionList)
        Specified by:
        batchEndOfIncrementalPushReceived in interface VeniceNotifier
      • close

        public void close()
        Description copied from interface: VeniceNotifier
        The Process is shutting down and clean up the resources associated with the Notifier. N.B. When implementing the method, make it idempotent.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface VeniceNotifier
      • error

        public void error​(java.lang.String topic,
                          int partitionId,
                          java.lang.String message,
                          java.lang.Exception ex)
        Description copied from interface: VeniceNotifier
        Report an error, during the consumption for a Partitions and store. The error may or may not be fatal.
        Specified by:
        error in interface VeniceNotifier