Stig Rohde Døssing created KAFKA-19492:
------------------------------------------

             Summary: 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


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)

Reply via email to