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

Add support for database as queue backend #62

Open
prabirshrestha opened this issue Mar 25, 2024 · 4 comments
Open

Add support for database as queue backend #62

prabirshrestha opened this issue Mar 25, 2024 · 4 comments

Comments

@prabirshrestha
Copy link

Would be good if database backends were supported.

I have written one for surrealdb and would be happy to contribute if you are open. https://github.com/prabirshrestha/mq/.

Other database I'm interested in are sqlite and Postgres.

@tasn
Copy link
Member

tasn commented Mar 25, 2024

Hey @prabirshrestha! Sqlite and postgres: yes, we would love that, thanks a lot. Looking forward to seeing your PRs!

As for surrealdb, let us think about it. We are the one that will end up needing to maintain it, and I want to make sure we don't take on something that's not as widely used.

@prabirshrestha
Copy link
Author

Was working on surrealdb backend by following other samples, but seems like queue mod is private to the crate so queue::{Acker, Delivery, QueueBackend} doesn't seem available.

@tasn
Copy link
Member

tasn commented Apr 22, 2024

@svix-jplatte, can you please take a look at the above report?

@svix-jplatte
Copy link
Member

Yeah, that is expected. It's not currently supported to define a queue backend outside of omniqueue. I'm not sure how hard it is to change that, it was already the case when I started working on omniqueue (even though the docs actually claimed that it's possible at that point).

@svix-jplatte svix-jplatte changed the title add support for database as queue backend Add support for database as queue backend Apr 22, 2024
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

3 participants