Class RetriableCommitFailedException

All Implemented Interfaces:
Serializable

@Public public class RetriableCommitFailedException extends RetriableException
Exception thrown when an offset commit fails with a retriable error. This exception is generated on the client side upon receiving retriable error codes from the Group Coordinator in a commit response.

Unlike CommitFailedException, this exception indicates that the commit can be retried. The consumer should attempt to commit the offsets again.

See Also:
  • Constructor Details

    • RetriableCommitFailedException

      public RetriableCommitFailedException(Throwable t)
      Constructs a new RetriableCommitFailedException with the specified cause.
      Parameters:
      t - The cause of the exception
    • RetriableCommitFailedException

      public RetriableCommitFailedException(String message)
      Constructs a new RetriableCommitFailedException with the specified detail message.
      Parameters:
      message - The detail message
    • RetriableCommitFailedException

      public RetriableCommitFailedException(String message, Throwable t)
      Constructs a new RetriableCommitFailedException with the specified detail message and cause.
      Parameters:
      message - The detail message
      t - The cause of the exception