mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[GH-ISSUE #663] [FEATURE REQUEST] Queue Adapters (eg: SQS, GCP Pub/Sub etc) #1347
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#1347
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yoshdog on GitHub (May 26, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/663
Originally assigned to: @hibiken on GitHub.
Is your feature request related to a problem? Please describe.
Would be great if we could configure different queue backends like SQS, GCP Pub/Sub etc...
Describe the solution you'd like
Ability to use a different queue backend other then redis.
Additional context
Alternative packages that support this: https://github.com/RichardKnop/machinery
@anupriya17 commented on GitHub (Jun 19, 2023):
A Pubsub Interface like this will help, I just copied the redis pubsub methods:
@yoshdog commented on GitHub (Jul 11, 2023):
ok seems like there is already a broker interface
https://github.com/hibiken/asynq/blob/master/internal/base/base.go#L715-L755
So we would just need to implement one for every type... eg: SQS, RabbitMQ, PUB SUB etc...
@anupriya17 commented on GitHub (Jul 11, 2023):
Thanks. broker interface depends on redis pubsub currently.
https://github.com/hibiken/asynq/blob/master/internal/base/base.go#L751
IMO to decouple pub/sub to its own interface. We don't need all the methods
@anhoder commented on GitHub (Jul 18, 2023):
Looking forward to this feature👀
@bowenli86 commented on GitHub (Oct 12, 2023):
+1
@zandwang commented on GitHub (Feb 29, 2024):
It looks like there are already some relevant PRS?
https://github.com/hibiken/asynq/pull/577
@djragsdale commented on GitHub (Apr 28, 2025):
Based on #577 and #667, it looks like PRs for other brokers are being declined. What doesn't get asked is why one would choose asynq over "other libraries out there that allow you to bring your own broker for lesser features". I'll summarize the reasons I was hoping to use asynq, even though I would prefer to use SQS as the broker:
I honestly haven't seen any option except Asynq that checks all those boxes.
The natural next question is "How does a maintainer with limited availability support other brokers?" Simple: they don't. Decouple. If there is an Asynq feature that Redis offers which can't be achieved with SQS, GCP Pub/Sub, or other brokers, I haven't seen the technical limitation. If there is one, please communicate it. Otherwise, I would happily contribute to the project similar to the aforementioned PRs so that a bring-your-own broker is achievable.
@arjendevos commented on GitHub (Jul 17, 2025):
+1