I am currently trying to replace actioncable with a small phoenix app. What I need to do is get information from a redis channel and stream it to an ember client. I have been attempting to use Redis.PuSub and the Phoenix Redis adapter, but haven't been able to fully cover the functionality we currently have.
The current functionality works like this:
Our server receives a request from a user and logs some output to a Redis channel. That channel's name is a combination of a string and a key. The Ember client then makes a request to action-cable with the same key. Action-cable then streams the logged information from the Redis channel with the same name. What I need to know is how to start listening to a Redis channel with a given name when the user makes a request & stream that information continuously to the client. I've managed to get one or the other but not both.
I've been banging my head of this for over a day now so any help at all is massively appreciated.
Cheers