-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for message delays for memory, rabbitmq, redis
SQS already had support for delays. This diff adds support for all the remaining backends _except for GCP_ which does not provide a direct way to emulate the delay behavior. The redis impl is by far the most complicated of the bunch. This version was based heavily on what was built for the OSS svix-server, with adjustments needed to account for "raw payloads" which omniqueue uses for persistence rather than encoding things as JSON. A single e2e test for each backend was added to demonstrate the delay behavior.
- Loading branch information
1 parent
6ed3b4b
commit b759f6e
Showing
14 changed files
with
525 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
[workspace] | ||
resolver = "2" | ||
|
||
members = [ | ||
"omniqueue", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[rabbitmq_management, rabbitmq_delayed_message_exchange]. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.