Skip to content

KAFKA-14509: [4/4] Handle includeAuthorizedOperations#16158

Merged
dajac merged 7 commits intoapache:trunkfrom
riedelmax:kafka-14509-handle-authorizedoperations
Jun 10, 2024
Merged

KAFKA-14509: [4/4] Handle includeAuthorizedOperations#16158
dajac merged 7 commits intoapache:trunkfrom
riedelmax:kafka-14509-handle-authorizedoperations

Conversation

@riedelmax
Copy link
Copy Markdown
Contributor

Last PR for KAFKA-14509

@dajac dajac added the KIP-848 The Next Generation of the Consumer Rebalance Protocol label May 31, 2024
@dajac
Copy link
Copy Markdown
Member

dajac commented May 31, 2024

@riedelmax Thanks for the patch. Could you please extend unit and integration tests to cover this change?

Comment thread core/src/main/scala/kafka/server/KafkaApis.scala Outdated
@chia7712
Copy link
Copy Markdown
Member

chia7712 commented Jun 1, 2024

out of curiosity, do we have IT for that option? I grep code base and it seems the related ITs are running with old coordinator/protocol. For example:

  1. val describeWithFakeGroupResult = client.describeConsumerGroups(Seq(testGroupId, fakeGroupId).asJava,
  2. val describeConsumerGroupsResult = client.describeConsumerGroups(Seq(Group1, Group2, Group3).asJava,

Copy link
Copy Markdown
Member

@dajac dajac left a comment

Choose a reason for hiding this comment

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

@riedelmax Thanks for the update. I left one more comment. I also wonder if we could add a test to ConsumerGroupDescribeRequestsTest to cover the change. Have you considered it?

Comment thread core/src/test/scala/unit/kafka/server/KafkaApisTest.scala Outdated
@riedelmax
Copy link
Copy Markdown
Contributor Author

@dajac thanks for checking so quickly. I will have time on friday to do the integration tet

@riedelmax
Copy link
Copy Markdown
Contributor Author

@chia7712 im not sure if I understand you correctlu. We have some integration tests in ConsumerGroupDescribeRequestTest

@chia7712
Copy link
Copy Markdown
Member

chia7712 commented Jun 4, 2024

We have some integration tests in ConsumerGroupDescribeRequestTest

thanks for this reminder. I neglect that before :(

Comment thread core/src/test/scala/unit/kafka/server/KafkaApisTest.scala Outdated
@dajac
Copy link
Copy Markdown
Member

dajac commented Jun 7, 2024

@riedelmax There are a bunch of conflicts. Could you please fix them? Regarding ConsumerGroupDescribeRequestsTest, is it possible to extend it too?

riedelmax added 2 commits June 7, 2024 16:52
…-authorizedoperations

# Conflicts:
#	core/src/test/scala/unit/kafka/server/KafkaApisTest.scala
Comment thread core/src/test/scala/unit/kafka/server/ConsumerGroupDescribeRequestsTest.scala Outdated
@chia7712
Copy link
Copy Markdown
Member

chia7712 commented Jun 8, 2024

@riedelmax please rebase code to have the fix #16249

@riedelmax
Copy link
Copy Markdown
Contributor Author

@chia7712 would you mind to explain how #16249 effects this PR? if there are no conflicts with trunk i dont need to rebase or merge manually right?

@chia7712
Copy link
Copy Markdown
Member

chia7712 commented Jun 9, 2024

@riedelmax #16249 fix the blocked tests. Without that fix, the CI will get timeout when running your PR

@chia7712
Copy link
Copy Markdown
Member

chia7712 commented Jun 9, 2024

I prefer to check all failed tests before merging. And the last commit of this PR does not have completed CI. That is why I suggest to rebase code to trigger QA again.

@dajac
Copy link
Copy Markdown
Member

dajac commented Jun 10, 2024

Merged trunk to include #16249.

Copy link
Copy Markdown
Member

@dajac dajac left a comment

Choose a reason for hiding this comment

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

LGTM, thanks. We need to cherry-pick it to 3.8 too.

@dajac
Copy link
Copy Markdown
Member

dajac commented Jun 10, 2024

CI does not seem to be working...

@dajac dajac merged commit 40de07d into apache:trunk Jun 10, 2024
dajac pushed a commit that referenced this pull request Jun 10, 2024
…pDescribe API (#16158)

This patch implements the handling of `includeAuthorizedOperations` flag in the ConsumerGroupDescribe API.

Reviewers: David Jacot <djacot@confluent.io>
@dajac
Copy link
Copy Markdown
Member

dajac commented Jun 10, 2024

Merged to trunk and to 3.8.

gongxuanzhang pushed a commit to gongxuanzhang/kafka that referenced this pull request Jun 12, 2024
…pDescribe API (apache#16158)

This patch implements the handling of `includeAuthorizedOperations` flag in the ConsumerGroupDescribe API.

Reviewers: David Jacot <djacot@confluent.io>
@riedelmax riedelmax deleted the kafka-14509-handle-authorizedoperations branch August 9, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

KIP-848 The Next Generation of the Consumer Rebalance Protocol

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants