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

Add delete records method support for kafka admin api #158

Closed
wants to merge 3 commits into from

Conversation

wbarnha
Copy link
Owner

@wbarnha wbarnha commented Mar 8, 2024

Hello. Sometimes it might be useful to delete messages from kafka topic without a trick with setting 1 second retention time.

I tried to implement this like in java version of client
https://github.com/apache/kafka/blob/f98e176746d663fadedbcd3c18312a7f476a20c8/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L2279

For me it solves the problem, hope it can be helpful for somebody.

This change is Reviewable

@wbarnha
Copy link
Owner Author

wbarnha commented Mar 9, 2024

I'm all for adding new features, but it would be nice to have some tests verifying this works.

@wbarnha
Copy link
Owner Author

wbarnha commented Mar 9, 2024

Resuming this in #136

@wbarnha wbarnha closed this Mar 9, 2024
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