Skip to content

feat: support DeleteTopics v5 - #3624

Merged
dnwe merged 1 commit into
mainfrom
dnwe/delete-topics
Jun 10, 2026
Merged

dnwe merged 1 commit into
mainfrom
dnwe/delete-topics

Conversation

@dnwe

@dnwe dnwe commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

This adds DeleteTopics v5 support for
KIP-599.

  • request format is unchanged from v4
  • response gains a nullable ErrorMessage per topic result; brokers can now return THROTTLING_QUOTA_EXCEEDED when topic deletion is throttled.
  • tests cover the v5 fixtures, and admin DeleteTopic builds its request via NewDeleteTopicsRequest rather than a duplicate version ladder.

This adds DeleteTopics v5 support for
[KIP-599](https://cwiki.apache.org/confluence/display/KAFKA/KIP-599%3A%2BThrottle%2BCreate%2BTopic%2C%2BCreate%2BPartition%2Band%2BDelete%2BTopic%2BOperations).

- request format is unchanged from v4
- response gains a nullable ErrorMessage per topic result; brokers can
now return THROTTLING_QUOTA_EXCEEDED when topic deletion is throttled.
- tests cover the v5 fixtures, and admin DeleteTopic builds its request
via NewDeleteTopicsRequest rather than a duplicate version ladder.

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
@dnwe dnwe added the feat label Jun 10, 2026

@puellanivis puellanivis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hindessm hindessm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dnwe
dnwe merged commit b3f5fe2 into main Jun 10, 2026
20 checks passed
@dnwe
dnwe deleted the dnwe/delete-topics branch June 10, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants