Class OutOfOrderSequenceException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UnknownProducerIdException

public class OutOfOrderSequenceException extends ApiException
This exception indicates that the broker received an unexpected sequence number from the producer, which means that data may have been lost. If the producer is configured for idempotence only (i.e. if enable.idempotence is set and no transactional.id is configured), it is possible to continue sending with the same producer instance, but doing so risks reordering of sent records. For transactional producers, this is a fatal error and you should close the producer.
See Also:
  • Constructor Details

    • OutOfOrderSequenceException

      public OutOfOrderSequenceException(String msg)