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

Unique Message Controls #10

Open
ChuckJonas opened this issue Jan 12, 2023 · 0 comments
Open

Unique Message Controls #10

ChuckJonas opened this issue Jan 12, 2023 · 0 comments
Labels

Comments

@ChuckJonas
Copy link
Contributor

Add ability to control message uniqueness. There are two, somewhat different use cases where some "uniqueness" controls might be desired:

1. Only allowing a specific message to be queued once (must be considered with message TTL)
This is about preventing an actual event from occurring twice. Typically would be implemented by assigning a "Message Id" and enforcing uniqueness constraint to prevent duplicates.

2. Not creating a duplicate outbox if there is an equivalent one with an active status:
The is more about ensuring efficiency by not queueing up a message that is an effective duplicate of one that is already in the queue. The can be a real "footgun" in temporal sensitive scenerio's and might be hard to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant