kafka
kafka copied to clipboard
KAFKA-19411: Fix deleteAcls bug which allows more deletions than max records per user op
If there are more deletion filters after we initially hit the
MAX_RECORDS_PER_USER_OP bound, we will add an additional deletion
record ontop of that for each additional filter.
The current error message returned to the client is not useful either,
adding logic so client doesn't just get UNKNOWN_SERVER_EXCEPTION with
no details returned.
Thanks for this fix! One problem I see is that this will allow the deletion to partly go through, until we run out of records. It would be better for the deletion to fail completely or succeed completely...