public class LogTruncationException extends OffsetOutOfRangeException
Constructor and Description |
---|
LogTruncationException(Map<TopicPartition,OffsetAndMetadata> divergentOffsets) |
Modifier and Type | Method and Description |
---|---|
Map<TopicPartition,OffsetAndMetadata> |
divergentOffsets()
Get the offsets for the partitions which were truncated.
|
offsetOutOfRangePartitions, partitions
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LogTruncationException(Map<TopicPartition,OffsetAndMetadata> divergentOffsets)
public Map<TopicPartition,OffsetAndMetadata> divergentOffsets()