[
https://issues.apache.org/jira/browse/KAFKA-19492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18019548#comment-18019548
]
Ksolves India Limited commented on KAFKA-19492:
-----------------------------------------------
[~srdo] If you are working on this, please assign it to yourself.
> 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
>
> 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)