Exception Exceptions.OffsetOutOfRange (3.6.1)

public static final class Exceptions.OffsetOutOfRange extends Exceptions.StorageException

Offset out of range. This indicates that the append request is attempting to write data to a point beyond the current end of the stream. To append data successfully, you must either specify the offset corresponding to the current end of stream, or omit the offset from the append request. It usually means a bug in your code that introduces a gap in appends.

Constructors

OffsetOutOfRange(Status grpcStatus, String name, Long expectedOffset, Long actualOffset)

protected OffsetOutOfRange(Status grpcStatus, String name, Long expectedOffset, Long actualOffset)
Parameters
Name Description
grpcStatus io.grpc.Status
name String
expectedOffset Long
actualOffset Long