title: Streaming from a redis channel through a phoenix channel
body: <p>I am currently trying to replace <a href="/questions/tagged/actioncable" class="post-tag" title="show questions tagged &#39;actioncable&#39;" rel="tag">actioncable</a> with a small phoenix app. What I need to do is get information from a <a href="/questions/tagged/redis" class="post-tag" title="show questions tagged &#39;redis&#39;" rel="tag">redis</a> channel and stream it to an <a href="/questions/tagged/ember" class="post-tag" title="show questions tagged &#39;ember&#39;" rel="tag">ember</a> 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.</p>
  
  <p>The current functionality works like this:</p>
  
  <p>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 &amp; stream that information continuously to the client. I've managed to get one or the other but not both.</p>
  
  <p>I've been banging my head of this for over a day now so any help at all is massively appreciated.</p>
  
  <p>Cheers</p>