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

Added a delete records api #1141

Merged
merged 30 commits into from
Jul 10, 2024
Merged

Added a delete records api #1141

merged 30 commits into from
Jul 10, 2024

Conversation

PratRanj07
Copy link
Contributor

Added a deleted records api and wrote its unit tests and integration tests.

@PratRanj07 PratRanj07 requested review from pranavrth and a team February 23, 2024 14:06
Copy link

cla-assistant bot commented Feb 23, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

cla-assistant bot commented Feb 23, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Contributor

@milindl milindl left a comment

Choose a reason for hiding this comment

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

Thanks for this PR!
I've done the first round of changes, please take a look.

examples/admin_delete_records/admin_delete_records.go Outdated Show resolved Hide resolved
kafka/adminapi.go Outdated Show resolved Hide resolved
kafka/adminapi.go Outdated Show resolved Hide resolved
kafka/adminapi.go Outdated Show resolved Hide resolved
kafka/integration_test.go Outdated Show resolved Hide resolved
kafka/integration_test.go Outdated Show resolved Hide resolved
kafka/integration_test.go Outdated Show resolved Hide resolved
kafka/integration_test.go Outdated Show resolved Hide resolved
kafka/integration_test.go Outdated Show resolved Hide resolved
@milindl
Copy link
Contributor

milindl commented Feb 26, 2024

Additional to the comments, make sure to add a CHANGELOG.md entry.

Remove the binary from the pull request (examples/admin_delete_records/admin_delete_records) as we don't want to commit binaries to the repo, and add it to the .gitignore file like it's done for other examples. Finally, add the example to the examples/README.md file as well.

@PratRanj07 PratRanj07 requested a review from a team as a code owner June 12, 2024 08:24
Copy link
Contributor

@milindl milindl left a comment

Choose a reason for hiding this comment

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

Looks pretty good, suggested some minor changes

kafka/adminapi.go Outdated Show resolved Hide resolved
kafka/integration_test.go Outdated Show resolved Hide resolved
kafka/integration_test.go Outdated Show resolved Hide resolved
kafka/adminapi.go Outdated Show resolved Hide resolved
kafka/adminapi.go Outdated Show resolved Hide resolved
kafka/integration_test.go Outdated Show resolved Hide resolved
kafka/adminapi.go Outdated Show resolved Hide resolved
kafka/adminapi.go Outdated Show resolved Hide resolved
examples/admin_delete_records/admin_delete_records.go Outdated Show resolved Hide resolved
examples/admin_delete_records/admin_delete_records.go Outdated Show resolved Hide resolved
examples/admin_delete_records/admin_delete_records.go Outdated Show resolved Hide resolved
kafka/adminapi.go Outdated Show resolved Hide resolved
kafka/adminapi.go Outdated Show resolved Hide resolved
kafka/integration_test.go Outdated Show resolved Hide resolved
kafka/integration_test.go Outdated Show resolved Hide resolved
kafka/integration_test.go Outdated Show resolved Hide resolved
kafka/integration_test.go Outdated Show resolved Hide resolved
kafka/integration_test.go Outdated Show resolved Hide resolved
@milindl milindl requested a review from emasab July 10, 2024 04:58
Copy link
Contributor

@emasab emasab left a comment

Choose a reason for hiding this comment

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

Awesome @PratRanj07 and @milindl ! I approve

@milindl milindl self-requested a review July 10, 2024 07:29
@milindl milindl merged commit 37256f4 into master Jul 10, 2024
2 checks passed
@milindl milindl deleted the deleteRecords branch July 10, 2024 07:30
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.

3 participants