Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compacted topics #294

Open
purplefox opened this issue Oct 3, 2024 · 0 comments
Open

Compacted topics #294

purplefox opened this issue Oct 3, 2024 · 0 comments
Milestone

Comments

@purplefox
Copy link
Contributor

purplefox commented Oct 3, 2024

We can implement compacted topics as follows:

When adding

  • add standard topic entry with offset
  • add another entry keyed on message key with latest offset as value

When compacting

  • have a job that goes through entire key range for standard topic entries for the topic and deletes them all
  • then for every entry in the table keyed on the key, convert to a standard topic entry
@purplefox purplefox added this to the 1.0 milestone Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant