Skip to content

MINOR: Auth operations must be null when talking to a pre-KIP-430 broker#6812

Merged
cmccabe merged 3 commits into
apache:trunkfrom
cmccabe:fix-kip-430-api
May 28, 2019
Merged

MINOR: Auth operations must be null when talking to a pre-KIP-430 broker#6812
cmccabe merged 3 commits into
apache:trunkfrom
cmccabe:fix-kip-430-api

Conversation

@cmccabe

@cmccabe cmccabe commented May 24, 2019

Copy link
Copy Markdown
Contributor

Authorized operations must be null when talking to a pre-KIP-430 broker. If we present this as the empty set instead, it is impossible for clients to know if they have no permissions, or are talking to an old broker.

@cmccabe
cmccabe force-pushed the fix-kip-430-api branch 2 times, most recently from d40efca to 080705b Compare May 24, 2019 22:39
@ijuma
ijuma requested review from omkreddy and rajinisivaram May 24, 2019 23:13
…30 broker.

Authorized operations must be null when talking to a pre-KIP-430 broker.
If we present this as the empty set instead, it is impossible for clients
to know if they have no permissions, or are talking to an old broker.
@cmccabe
cmccabe force-pushed the fix-kip-430-api branch from 080705b to f46ca76 Compare May 24, 2019 23:30

@omkreddy omkreddy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@cmccabe Thanks for PR. LGTM. left one comment. pushed a small commit to fix a checkstyle issue.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we should also update DescribeGroupsResponse.json.

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.

@omkreddy Colin is away for a week or so, so maybe you can address this when you have a chance. This is a blocker for 2.3.

@cmccabe
cmccabe merged commit 24f664a into apache:trunk May 28, 2019
asfgit pushed a commit that referenced this pull request May 28, 2019
…ker (#6812)

Authorized operations must be null when talking to a pre-KIP-430 broker.
If we present this as the empty set instead, it is impossible for clients
to know if they have no permissions, or are talking to an old broker.

Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>
@cmccabe

cmccabe commented May 28, 2019

Copy link
Copy Markdown
Contributor Author

Committed to 2.3. @omkreddy, can you post the follow-up with the change to DescribeGroupsResponse.json? We should also have a test probably

@omkreddy

Copy link
Copy Markdown
Contributor

@cmccabe I have already pushed my changes to this PR. sorry for not commenting earlier.
@rajinisivaram Pls take a look at the PR.

haidangdam pushed a commit to haidangdam/kafka that referenced this pull request May 29, 2019
…ker (apache#6812)

Authorized operations must be null when talking to a pre-KIP-430 broker.
If we present this as the empty set instead, it is impossible for clients
to know if they have no permissions, or are talking to an old broker.

Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>
pengxiaolong pushed a commit to pengxiaolong/kafka that referenced this pull request Jun 14, 2019
…ker (apache#6812)

Authorized operations must be null when talking to a pre-KIP-430 broker.
If we present this as the empty set instead, it is impossible for clients
to know if they have no permissions, or are talking to an old broker.

Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>
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