[
https://issues.apache.org/jira/browse/KAFKA-19492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-19492.
------------------------------------
Fix Version/s: 4.3.0
Resolution: Fixed
> ReplicaManager.deleteRecordsOnLocalLog should debug log the exception message
> when OffsetOutOfRangeException occurs
> -------------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-19492
> URL: https://issues.apache.org/jira/browse/KAFKA-19492
> Project: Kafka
> Issue Type: Task
> Components: core
> Affects Versions: 4.0.0
> Reporter: Stig Rohde Døssing
> Assignee: Stig Rohde Døssing
> Priority: Minor
> Fix For: 4.3.0
>
>
> When using the admin client to delete records on a Kafka partition, the
> deletion may fail for a few different reasons. One of those reasons is
> OFFSET_OUT_OF_RANGE.
> While the code that throws OffsetOutOfRangeException already has very good
> exception messages, those messages are lost because deleteRecordsOnLocalLog
> discards them.
> This makes it hard to tell what the issue was when an admin client receives
> this error.
> It would be convenient if deleteRecordsOnLocalLog would debug log these
> messages.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)