title: Is there a way to subscribe to Redis Streams similar to Redis pub/sub?
body: <p>I am building a data pipeline that reads the MySQL binlogs in realtime using <a href="http://maxwells-daemon.io" rel="nofollow noreferrer">Maxwell Daemon</a> and Maxwell Daemon pushes the data to Redis streams. I've built a client that consumes the data from Redis streams processes it. Currently, I'm polling the <strong>XREAD</strong> using an infinite loop with a sleep time of few milliseconds to consume the data from the stream, but I find this to be an inefficient solution.</p>
  <p>I was searching for a way where I can somehow subscribe to the Redis stream and get notified whenever new entries are added to the stream and came across <a href="https://github.com/StackExchange/StackExchange.Redis/issues/1155" rel="nofollow noreferrer">this</a> GitHub issue where they talk about using the Redis pub/sub along with streams to achieve this functionality.</p>
  <p>Is there a more efficient way of architecting this system?</p>