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, partitionsaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LogTruncationException(Map<TopicPartition,OffsetAndMetadata> divergentOffsets)
public Map<TopicPartition,OffsetAndMetadata> divergentOffsets()