Class Exceptions.OffsetAlreadyExists

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    Exceptions

    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.
    See Also:
    Serialized Form
    • Constructor Detail

      • OffsetAlreadyExists

        protected OffsetAlreadyExists​(io.grpc.Status grpcStatus,
                                      String name,
                                      Long expectedOffset,
                                      Long actualOffset)