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

Missing DeleteRecords equiv in AdminClient (KIP-107 method) #1513

Closed
michaelandrepearce opened this issue Feb 2, 2023 · 8 comments
Closed

Comments

@michaelandrepearce
Copy link

michaelandrepearce commented Feb 2, 2023

Description

deleteRecords equiv from Java does not seem to be exposed in AdminClient, on checking librdkafka it exists in the underlying C++ lib, just not exposed up in python wrapper. Please can it be exposed/added.

https://github.com/confluentinc/librdkafka/blob/master/examples/delete_records.c

How to reproduce

expecting to see method something like: admin.delete_records , but cannot find.

Checklist

Please provide the following information:

  • [1.9.2 ] confluent-kafka-python and librdkafka version (confluent_kafka.version() and confluent_kafka.libversion()):
  • [NA ] Apache Kafka broker version:
  • [NA ] Client configuration: {...}
  • [Windows/Linux ] Operating system:
  • [ NA] Provide client logs (with 'debug': '..' as necessary)
  • [ NA] Provide broker log excerpts
  • [no ] Critical issue
@michaelandrepearce michaelandrepearce changed the title Missing DeleteRecords equiv in AdminClient Missing DeleteRecords equiv in AdminClient (KIP-107 method) Feb 2, 2023
@pranavrth
Copy link
Member

Good find. We will add it to our backlog. Thanks.

@michaelandrepearce
Copy link
Author

michaelandrepearce commented Aug 2, 2023

Any update here? we are a confluent customer.

@mahajanadhitya
Copy link
Contributor

Great find. We are working on the Python Client Delete Records which is the equivalent of the above method. Will update this thread when the feature is merged.

@michaelandrepearce
Copy link
Author

@mahajanadhitya just checking in if there is any update here?

@michaelandrepearce
Copy link
Author

@mahajanadhitya is there any timeline?

@strafer
Copy link

strafer commented Nov 27, 2023

I join the question. For my current task, it is required to delete messages in the topic/partition in the python script.

@pranavrth
Copy link
Member

This is being worked upon and will be added as part of the upcoming release in late April. PR

@pranavrth
Copy link
Member

The PR is merged and will be available in v2.5.0.

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

No branches or pull requests

4 participants