Skip to content

Conversation

@FrankYang0529
Copy link
Member

@FrankYang0529 FrankYang0529 commented Apr 17, 2025

  • Add MetadataHash field to ConsumerGroupMetadataValue,
    ShareGroupMetadataValue, and StreamGroupMetadataValue.
  • Add metadataHash field to
    GroupCoordinatorRecordHelpers#newConsumerGroupEpochRecord,
    GroupCoordinatorRecordHelpers#newShareGroupEpochRecord, and
    StreamsCoordinatorRecordHelpers#newStreamsGroupEpochRecord.
  • Add deprecated message to ConsumerGroupPartitionMetadataKey and
    ConsumerGroupPartitionMetadataValue.
  • ShareGroupPartitionMetadataKey / ShareGroupPartitionMetadataValue /
    StreamGroupPartitionMetadataKey / StreamGroupPartitionMetadataValue will
    be removed in next PR.

Reviewers: Lucas Brutschy lbrutschy@confluent.io, David Jacot
djacot@confluent.io

…dataValue

Signed-off-by: PoAn Yang <payang@apache.org>
@FrankYang0529 FrankYang0529 changed the title KAFKA-17747: Add MetadataHash field to Consumer/Share/StreamGroupMetadataValue KAFKA-17747: [1/N] Add MetadataHash field to Consumer/Share/StreamGroupMetadataValue Apr 17, 2025
@github-actions github-actions bot added the tools label Apr 17, 2025
@FrankYang0529 FrankYang0529 requested a review from dajac April 18, 2025 01:14
Copy link
Member

@lucasbru lucasbru left a comment

Choose a reason for hiding this comment

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

This is looking good to me as a first step. We just need to remember to replace every single one of those zeros later on. I'll leave it to @dajac to merge.

new StreamsGroupMetadataValue()
.setEpoch(42),
.setEpoch(42)
.setMetadataHash(42),
Copy link
Member

Choose a reason for hiding this comment

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

The only line where you put 42?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I followed epoch value to check we can get expected metadata hash with StreamsCoordinatorRecordHelpers.newStreamsGroupEpochRecord. It's like GroupCoordinatorRecordHelpersTest#testNewShareGroupEpochRecord.

Copy link
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

@dajac dajac merged commit 369cc56 into apache:trunk Apr 25, 2025
27 checks passed
@FrankYang0529 FrankYang0529 deleted the KAFKA-17747-1 branch April 25, 2025 08:25
@lucasbru lucasbru added the KIP-1071 PRs related to KIP-1071 label Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-approved KIP-1071 PRs related to KIP-1071 tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants