Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

fix offset data loss#799

Merged
Demogorgon314 merged 9 commits into
streamnative:masterfrom
aloyszhang:offset
Oct 11, 2021
Merged

fix offset data loss#799
Demogorgon314 merged 9 commits into
streamnative:masterfrom
aloyszhang:offset

Conversation

@aloyszhang

Copy link
Copy Markdown
Contributor

This pull request fix #795.

When KoP starts, check if the __consumer_offsets exist
a) if exist, use the partition number already exist for OffsetConfig
b) if not, use the default partition number in broker.conf

Co-authored-by: Kai Wang <kwang@streamnative.io>

@Demogorgon314 Demogorgon314 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

@Demogorgon314
Demogorgon314 merged commit f0decd9 into streamnative:master Oct 11, 2021
BewareMyPower pushed a commit that referenced this pull request Oct 20, 2021
This pull request fix #795.

When KoP starts, check if the `__consumer_offsets` exist
a) if exist, use the partition number already exist for `OffsetConfig`
b) if not, use the default partition number in `broker.conf`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] kop upgrade may lead to offset loss

4 participants