Exception Exceptions.OffsetAlreadyExists (3.2.0)

public static final class Exceptions.OffsetAlreadyExists extends Exceptions.StorageException

Offset already exists. This indicates that the append request attempted to write data to an offset before the current end of the stream. This is an expected exception when ExactOnce is enforced. You can safely ignore it, and keep appending until there is new data to append.

Constructors

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

protected OffsetAlreadyExists(Status grpcStatus, String name, Long expectedOffset, Long actualOffset)
Parameters
NameDescription
grpcStatusio.grpc.Status
nameString
expectedOffsetLong
actualOffsetLong