-
Notifications
You must be signed in to change notification settings - Fork 15
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
[Question] Channels 4.x support ? #22
Comments
Hi Jhon, You're right, have you tested it with channels 4.x.x? I will try to run the compatibility checks and update the docs if it works as expected. If not I will update the library to support channels 4.x.x |
We are just doing the integration and testing ...
application = ProtocolTypeRouter(
{
"http": get_asgi_application(),
"mqtt": URLRouter([
path("my/testing/+/tempeture/", TempetureConsumer.as_asgi()),
path("my/testing/+/topic/", TopicConsumer.as_asgi()),
]),
}
) Based on https://www.hivemq.com/blog/mqtt-essentials-part-5-mqtt-topics-best-practices/ or similar Thanks again |
There are two ways of supporting two consumers:
For option 1 you can create a base worker called an orchestrator that spawns both processes that need to be run :) A third option would be to create an mqtt topic router to spawn them, I'll also look at doing this |
Hi,
Looking at the notes at https://channels.readthedocs.io/en/stable/releases/4.0.0.html I don't feel that there are too many changes to prevent my use of channels 4, however, I would like to know if you recommend me to only use channels 3.XX? If so, when is channel 4.xx support planned?
Thanks
The text was updated successfully, but these errors were encountered: