hibiken / asynq

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

support other redis libarary? #781

Open shushenghong opened 1 year ago

shushenghong commented 1 year ago

can support other redis libraries like rueidis other than go-redis, since my project have use rueidis already.

  1. define interface for inner redis client
  2. let the users pass the redis client instance on init
kamikazechaser commented 1 year ago

There are a lot of parts of asynq that a strictly dependent on go-redis. rueidis is not a drop-in replacement for go-redis afaik.