RecreatedTopicException

class RecreatedTopicException(val topic: String, val partition: Int, val offset: Long, val epoch: Int, val previous: Int) : IllegalStateException

Partition partition of topic gave its read the record at offset at leader epoch epoch, below previous, the epoch of the record the read took before it. A partition's leader epochs never decrease along its offsets, so the topic was deleted and created again under its name while it was read, and the new partition already held the offset (#7399). Whatever the OffsetGapPolicy, the read ends: nothing of the topic it read is left to go on from, and the topic it is now is read from its start once its subscriptions join it. Every read of a partition compares its epochs (LeaderEpochs).

Constructors

Link copied to clipboard
constructor(topic: String, partition: Int, offset: Long, epoch: Int, previous: Int)

Properties

Link copied to clipboard
val epoch: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard