Jochen Breuer
2017-02-22 14:55:54 UTC
Hi!
I'm not entirely sure where to start and I hope you can help me. I'm using
SaltStack to execute tasks on minions. The results of those jobs (that's
the term used in Salt) are then published to a job cache. In this case its
a Redis server (Redis Pubsub). Now I would like to subscribe to a specific
Redis channel, where the job results are published, with my Django
(Channels) application. Every time a job result is pushed, I'd also like to
push a message to a channel in Django.
Where to begin? Do I need to write a new protocol server or just a custom
channel? Even after reading the docs I'm still lacking overview. Perhaps
someone can push me into the right direction. Thanks!
Jochen
I'm not entirely sure where to start and I hope you can help me. I'm using
SaltStack to execute tasks on minions. The results of those jobs (that's
the term used in Salt) are then published to a job cache. In this case its
a Redis server (Redis Pubsub). Now I would like to subscribe to a specific
Redis channel, where the job results are published, with my Django
(Channels) application. Every time a job result is pushed, I'd also like to
push a message to a channel in Django.
Where to begin? Do I need to write a new protocol server or just a custom
channel? Even after reading the docs I'm still lacking overview. Perhaps
someone can push me into the right direction. Thanks!
Jochen
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c933a5b5-7b72-4d7d-985a-a311c0f16b26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c933a5b5-7b72-4d7d-985a-a311c0f16b26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.