Use Azure Service Bus for message queue? #2047
-
Has anyone used Azure services (Azure Service Bus, Azure Event Grid, or else) for message queue, instead of Redis/RabbitMQ, and if so, what would the connection look like when doing |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You would need to write a custom subclass of the Once you write a similar class for your queue, you can pass an instance of it to the |
Beta Was this translation helpful? Give feedback.
You would need to write a custom subclass of the
PubSubManager
class in package python-socketio. Take a look at the Redis implementation, for example: https://github.com/miguelgrinberg/python-socketio/blob/main/src/socketio/redis_manager.py.Once you write a similar class for your queue, you can pass an instance of it to the
message_queue
argument for Socket.IO to use.