Skip to content

Commit

Permalink
Merge pull request #1265 from zacken/fix_issue_#987
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevon authored Jan 10, 2022
2 parents db0b826 + 9cfc276 commit 2003217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/admin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ module.exports = ({
low: undefined,
}
// warn in case of offset below low watermark
if (parseInt(offset) < parseInt(low)) {
if (parseInt(offset) < parseInt(low) && parseInt(offset) !== -1) {
logger.warn(
'The requested offset is before the earliest offset maintained on the partition - no records will be deleted from this partition',
{
Expand Down

0 comments on commit 2003217

Please sign in to comment.