hibiken / asynq

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

[FEATURE REQUEST] Implement other Brokers in my code #763

Open LucyWangC opened 11 months ago

LucyWangC commented 11 months ago

Is your feature request related to a problem? Please describe. The TaskMessage data structure belongs to the internal package. How can I extend other broker implementations based on the Broker interface in my own code?

Describe the solution you'd like I want to implement it in my own code based on the Broker interface

Describe alternatives you've considered Data structures such as TaskMessage and ServerInfo are moved outside the internal package

Additional context

g41797 commented 8 months ago

this refactoring is not enough as far as i understand, Asynq CLI directly works with redis @hibiken - are you interested in support of plug-able MQ brokers?