public class LogTruncationException extends OffsetOutOfRangeException
| Constructor and Description |
|---|
LogTruncationException(java.util.Map<TopicPartition,OffsetAndMetadata> divergentOffsets) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<TopicPartition,OffsetAndMetadata> |
divergentOffsets()
Get the offsets for the partitions which were truncated.
|
offsetOutOfRangePartitions, partitionspublic LogTruncationException(java.util.Map<TopicPartition,OffsetAndMetadata> divergentOffsets)
public java.util.Map<TopicPartition,OffsetAndMetadata> divergentOffsets()