Interface TopicTransactionBuffer.MaxReadPositionCallBack

Enclosing class:
TopicTransactionBuffer

public static interface TopicTransactionBuffer.MaxReadPositionCallBack
A functional interface to handle the max read position move forward.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    maxReadPositionMovedForward(Position oldPosition, Position newPosition)
    callback method when max read position move forward.
  • Method Details

    • maxReadPositionMovedForward

      void maxReadPositionMovedForward(Position oldPosition, Position newPosition)
      callback method when max read position move forward.
      Parameters:
      oldPosition - the old max read position.
      newPosition - the new max read position.