Skip to content

MINOR: Share common implementation for downstream offset translation boundary in MirrorMaker offset syncs - #22543

Merged
mimaison merged 1 commit into
apache:trunkfrom
Russole:KAFKA-20643
Jun 25, 2026
Merged

MINOR: Share common implementation for downstream offset translation boundary in MirrorMaker offset syncs#22543
mimaison merged 1 commit into
apache:trunkfrom
Russole:KAFKA-20643

Conversation

@Russole

@Russole Russole commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

This is a small refactor to resolve the TODO in
OffsetSyncWriter
by centralizing the downstream offset boundary calculation used by
MirrorMaker offset sync translation.

The existing behavior is unchanged. OffsetSyncStore and
OffsetSyncWriter now share the same implementation in OffsetSync
instead of duplicating the downstreamOffset + 1 logic.

Reviewers: Chia-Ping Tsai
chia7712@gmail.com, Mickael Maison
mickael.maison@gmail.com

@github-actions github-actions Bot added triage PRs from the community connect mirror-maker-2 small Small PRs labels Jun 11, 2026
@github-actions

Copy link
Copy Markdown

A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.

@mimaison mimaison left a comment

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.

LGTM, thanks for the PR

@mimaison
mimaison merged commit eec3aad into apache:trunk Jun 25, 2026
25 checks passed
@github-actions github-actions Bot removed needs-attention triage PRs from the community labels Jun 26, 2026
@Russole
Russole deleted the KAFKA-20643 branch June 28, 2026 16:18
@Russole

Russole commented Jun 28, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @mimaison for the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants