Skip to content

Feature/bugfix 1616#1630

Merged
Emanuele Sabellico (emasab) merged 17 commits intomasterfrom
feature/bugfix-1616
Oct 25, 2023
Merged

Feature/bugfix 1616#1630
Emanuele Sabellico (emasab) merged 17 commits intomasterfrom
feature/bugfix-1616

Conversation

@mahajanadhitya
Copy link
Copy Markdown
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
Copy Markdown

cla-assistant Bot commented Aug 22, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Member

@pranavrth Pranav Rathi (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.

Comment thread src/confluent_kafka/admin/__init__.py Outdated
Comment thread src/confluent_kafka/admin/__init__.py Outdated
Comment thread src/confluent_kafka/admin/__init__.py Outdated
Comment thread src/confluent_kafka/admin/__init__.py Outdated
Comment thread src/confluent_kafka/admin/__init__.py
Comment thread examples/adminapi.py Outdated
Copy link
Copy Markdown
Member

@pranavrth Pranav Rathi (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

Comment thread src/confluent_kafka/admin/__init__.py
Comment thread src/confluent_kafka/admin/__init__.py Outdated
Comment thread src/confluent_kafka/admin/__init__.py Outdated
Comment thread src/confluent_kafka/admin/__init__.py Outdated
Comment thread src/confluent_kafka/admin/__init__.py
Comment thread src/confluent_kafka/admin/__init__.py Outdated
Comment thread src/confluent_kafka/admin/__init__.py Outdated
Comment thread examples/adminapi.py
@emasab
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Member

@pranavrth Pranav Rathi (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.

Comment thread examples/adminapi.py Outdated
Comment thread examples/adminapi.py Outdated
Comment thread src/confluent_kafka/admin/__init__.py
Comment thread src/confluent_kafka/admin/__init__.py
Comment thread src/confluent_kafka/admin/__init__.py
Comment thread src/confluent_kafka/admin/__init__.py Outdated
Comment thread examples/adminapi.py
Copy link
Copy Markdown
Member

@pranavrth Pranav Rathi (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.

Comment thread src/confluent_kafka/admin/__init__.py Outdated
Comment thread tests/test_Admin.py
# Describe User Scram API
a = AdminClient({"socket.timeout.ms": 10})

f = a.describe_user_scram_credentials()
Copy link
Copy Markdown
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
Copy Markdown
Member

@pranavrth Pranav Rathi (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 Emanuele Sabellico (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