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

feat: simplify dlq setup #1369

Merged
merged 2 commits into from
Aug 15, 2024
Merged

feat: simplify dlq setup #1369

merged 2 commits into from
Aug 15, 2024

Conversation

turip
Copy link
Contributor

@turip turip commented Aug 14, 2024

Overview

Given that most of our consumers implicitly depend on the ordering of the messages, this patch drops the retry queues and adds a simple DLQ solution.

The balance worker ignores any messages (e.g. ingest) coming after an entitlement deletion, but we are relying on the ordering there.

The notification worker relies on per-subject ordering so that it can check the database for previously sent alerts. Right now, out-of-order snapshots might trigger false notifications. (We can work around that.)

OSS-54

@turip turip added the release-note/feature Release note: Exciting New Features label Aug 14, 2024
@turip turip requested a review from sagikazarmark August 14, 2024 15:49
@turip turip force-pushed the refactor/add-proper-dlq branch from b2ca62e to a73b2fb Compare August 14, 2024 16:09
sagikazarmark
sagikazarmark previously approved these changes Aug 15, 2024
turip added 2 commits August 15, 2024 15:16
Given that most of our consumers are implicity depending on
the ordering of the messages, this patch drops the retry
queues and adds a simple DLQ solution.
@turip turip force-pushed the refactor/add-proper-dlq branch from 3bb8ee3 to 8831608 Compare August 15, 2024 13:16
@turip turip merged commit 9793b8a into main Aug 15, 2024
16 of 17 checks passed
@turip turip deleted the refactor/add-proper-dlq branch August 15, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/feature Release note: Exciting New Features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants