Interface StreamProcessorLifecycleAware

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void onClose()
      Callback which is called when StreamProcessor is on closing phase.
      default void onFailed()
      Callback which is called when the StreamProcessor failed, during startup or processing.
      default void onPaused()
      Callback which is called when the processing is paused, will only called after onRecovered was called before.
      default void onRecovered​(ReadonlyProcessingContext context)
      Callback after reprocessing was successful and before regular processing begins
      default void onResumed()
      Callback which is called when the processing is resumed, will only called after onPaused was called before.
    • Method Detail

      • onRecovered

        default void onRecovered​(ReadonlyProcessingContext context)
        Callback after reprocessing was successful and before regular processing begins
      • onClose

        default void onClose()
        Callback which is called when StreamProcessor is on closing phase.
      • onFailed

        default void onFailed()
        Callback which is called when the StreamProcessor failed, during startup or processing.
      • onPaused

        default void onPaused()
        Callback which is called when the processing is paused, will only called after onRecovered was called before.
      • onResumed

        default void onResumed()
        Callback which is called when the processing is resumed, will only called after onPaused was called before.