hibiken / asynq

Simple, reliable, and efficient distributed task queue in Go
MIT License
10k stars 714 forks source link

[FEATURE REQUEST] Support for dragonfly #769

Closed sxwebdev closed 1 year ago

sxwebdev commented 1 year ago

Hello. Thank you for the excellent library that helps implement a high-quality task manager.

Recently, Dragonfly released full support for BullMQ.

https://www.dragonflydb.io/blog/running-bullmq-with-dragonfly

Currently, your library only has support for redis. Are you planning to implement dragonfly support?

Now when I try to connect to Dragonfly I get the following error

UNKNOWN: redis eval error: ERR Error running script (call to a8153319360adc71cdc370107f8ab9786f204765): @user_script:7: script tried accessing undeclared key
kamikazechaser commented 1 year ago

Dragonfly is only a partial drop in replacement for redis. Not all redis features have been implemented. Moreover, go-redis would need to add any special support for Dragonfly if any. Untill then, the scope of this library would be redis.