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

Batch store offset per slice #32

Open
patriknw opened this issue Jun 5, 2024 · 0 comments
Open

Batch store offset per slice #32

patriknw opened this issue Jun 5, 2024 · 0 comments

Comments

@patriknw
Copy link
Member

patriknw commented Jun 5, 2024

The TimestampOffset per slice can probably be stored in the background, or at least not in each saveOffset. It can be flushed on flush on size/time. After a restart we will see duplicates, which is fine, if storeSequenceNumbers is successful and storeTimestampOffsets fails or is performed later.

Also, we must group the batches, also the storeSequenceNumbers, into chunks that fit the DynamoDB batch limit.

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