Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #987 Unnecessary warning when calling Admin.deleteTopicRecords with offset -1 #1265

Merged
merged 2 commits into from
Jan 10, 2022

Conversation

zacken
Copy link

@zacken zacken commented Jan 7, 2022

This fixes issue #987 Unnecessary warning when calling Admin.deleteTopicRecords with offset -1

When using offset -1 all records was, and still is, deleted from partition but behavior is changed so that the warning message "The requested offset is before the earliest offset maintained on the partition - no records will be deleted from this partition" is not logged when calling Admin.deleteTopicRecords with offset -1 to delete.

Functionality of deleteTopicRecords is not changed. No tests are influenced by this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants