Hi, A couple of months ago, we ran into our application getting OFFSET_OUT_OF_RANGE errors from Admin.deleteRecords calls.
We had a hard time debugging the underlying reason, because the client side doesn't know why this error is triggered (it can happen for a few reasons, as listed here https://github.com/search?q=repo%3Aapache%2Fkafka+%22throw+new+OffsetOutOfRangeException%22&type=code), and the server side catches and discards the exception quietly. We raised a PR to add debug-level logging that can be opted into, for cases where people would like to get at these error messages/stack traces, but it has gone stale. Could someone take a look when they get a chance? The PR is at https://github.com/apache/kafka/pull/20141/files Thanks.
