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

Feature/bugfix 1616 #1630

Merged
merged 17 commits into from
Oct 25, 2023
Merged

Feature/bugfix 1616 #1630

merged 17 commits into from
Oct 25, 2023

Conversation

mahajanadhitya
Copy link
Contributor

@mahajanadhitya mahajanadhitya commented Aug 22, 2023

Fixes #1616

@mahajanadhitya mahajanadhitya requested a review from a team as a code owner August 22, 2023 09:12
@cla-assistant
Copy link

cla-assistant bot commented Aug 22, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@pranavrth pranavrth left a comment

Choose a reason for hiding this comment

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

First round of reviews.

I would suggest to find better ways make "all" case similar to old cases.

src/confluent_kafka/admin/__init__.py Outdated Show resolved Hide resolved
src/confluent_kafka/admin/__init__.py Outdated Show resolved Hide resolved
src/confluent_kafka/admin/__init__.py Outdated Show resolved Hide resolved
src/confluent_kafka/admin/__init__.py Outdated Show resolved Hide resolved
src/confluent_kafka/admin/__init__.py Show resolved Hide resolved
examples/adminapi.py Outdated Show resolved Hide resolved
Copy link
Member

@pranavrth pranavrth left a comment

Choose a reason for hiding this comment

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

Add test cases and changelog

src/confluent_kafka/admin/__init__.py Show resolved Hide resolved
src/confluent_kafka/admin/__init__.py Outdated Show resolved Hide resolved
src/confluent_kafka/admin/__init__.py Outdated Show resolved Hide resolved
src/confluent_kafka/admin/__init__.py Outdated Show resolved Hide resolved
src/confluent_kafka/admin/__init__.py Show resolved Hide resolved
src/confluent_kafka/admin/__init__.py Outdated Show resolved Hide resolved
src/confluent_kafka/admin/__init__.py Outdated Show resolved Hide resolved
examples/adminapi.py Outdated Show resolved Hide resolved
@emasab
Copy link
Contributor

emasab commented Oct 22, 2023

Made some change following what we were talking about, keeping same behavior if a list is passed

Copy link
Member

@pranavrth pranavrth left a comment

Choose a reason for hiding this comment

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

  • Rebase the branch.
  • None and empty list both have same behavior. Reflect this in the docs.

examples/adminapi.py Outdated Show resolved Hide resolved
examples/adminapi.py Outdated Show resolved Hide resolved
src/confluent_kafka/admin/__init__.py Show resolved Hide resolved
src/confluent_kafka/admin/__init__.py Show resolved Hide resolved
src/confluent_kafka/admin/__init__.py Show resolved Hide resolved
src/confluent_kafka/admin/__init__.py Outdated Show resolved Hide resolved
examples/adminapi.py Show resolved Hide resolved
Copy link
Member

@pranavrth pranavrth left a comment

Choose a reason for hiding this comment

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

Fix CI.

src/confluent_kafka/admin/__init__.py Outdated Show resolved Hide resolved
@@ -869,10 +869,14 @@ def test_describe_user_scram_credentials_api():
# Describe User Scram API
a = AdminClient({"socket.timeout.ms": 10})

f = a.describe_user_scram_credentials()
Copy link
Member

Choose a reason for hiding this comment

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

Add an integration test for the fix that we are deploying i.e. describe all users case.

Copy link
Member

@pranavrth pranavrth left a comment

Choose a reason for hiding this comment

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

LGTM!.

@emasab emasab merged commit a150b5e into master Oct 25, 2023
@emasab emasab deleted the feature/bugfix-1616 branch October 25, 2023 13:51
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.

How do I describe all users using the admin client?
4 participants