Exception Exceptions.OffsetAlreadyExists (3.5.2)

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
Name Description
grpcStatus io.grpc.Status
name String
expectedOffset Long
actualOffset Long