Skip to content

KAFKA-14499: [2/N] Add OffsetCommit record & related#14047

Merged
dajac merged 3 commits intoapache:trunkfrom
dajac:KAFKA-14499-2
Jul 21, 2023
Merged

KAFKA-14499: [2/N] Add OffsetCommit record & related#14047
dajac merged 3 commits intoapache:trunkfrom
dajac:KAFKA-14499-2

Conversation

@dajac
Copy link
Member

@dajac dajac commented Jul 19, 2023

This patch does a few things:

  1. It introduces the OffsetAndMetadata class which hold the committed offsets in the group coordinator.
  2. It adds methods to deal with OffsetCommit records to RecordHelpers.
  3. It adds MetadataVersion#offsetCommitValueVersion to get the version of the OffsetCommit value record that should be used.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@dajac dajac added the KIP-848 The Next Generation of the Consumer Rebalance Protocol label Jul 19, 2023
Copy link
Member

@jolshan jolshan left a comment

Choose a reason for hiding this comment

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

thanks!

@dajac
Copy link
Member Author

dajac commented Jul 21, 2023

Failed tests are unrelated. Merging to trunk.

@dajac dajac merged commit 2528dd4 into apache:trunk Jul 21, 2023
@dajac dajac deleted the KAFKA-14499-2 branch July 21, 2023 18:09
Cerchie pushed a commit to Cerchie/kafka that referenced this pull request Jul 25, 2023
This patch does a few things:
1) It introduces the `OffsetAndMetadata` class which hold the committed offsets in the group coordinator.
2) It adds methods to deal with OffsetCommit records to `RecordHelpers`.
3) It adds `MetadataVersion#offsetCommitValueVersion` to get the version of the OffsetCommit value record that should be used.

Reviewers: Jeff Kim <jeff.kim@confluent.io>, David Arthur <mumrah@gmail.com>, Justine Olshan <jolshan@confluent.io>
jeqo pushed a commit to aiven/kafka that referenced this pull request Aug 15, 2023
This patch does a few things:
1) It introduces the `OffsetAndMetadata` class which hold the committed offsets in the group coordinator.
2) It adds methods to deal with OffsetCommit records to `RecordHelpers`.
3) It adds `MetadataVersion#offsetCommitValueVersion` to get the version of the OffsetCommit value record that should be used.

Reviewers: Jeff Kim <jeff.kim@confluent.io>, David Arthur <mumrah@gmail.com>, Justine Olshan <jolshan@confluent.io>
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.

4 participants