Interface BatchRewindStrategy

    • Method Detail

      • handleRewindException

        RewindAction handleRewindException​(RewindableException e,
                                           int attempts)
        When a RewindableException is thrown, this will be called.
        Parameters:
        e - the exception that propagated from the EventHandler.
        attempts - how many attempts there have been for the batch
        Returns:
        the decision of whether to rewind the batch or throw the exception