- All Implemented Interfaces:
- Direct Known Subclasses:
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.idempotenceis set and no
transactional.idis 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: