Stream Controller

Subscribing to multiple channels simultaneously is easy and flexible using the various features of PubNub’s Stream Controller:

  • Multiplexing: subscribe to an array or list of channels (e.g. 'a,b,c,d'); this approach is recommended when subscribing to a smaller number of channels (20-30)
  • Channel Groups: create and register a group of channels and subscribe to that group; can support up to 20,000 channels on a single subscription
  • Wildcard Subscribe: subscribe to all channels that use a hierarchical naming scheme, such as ‘a.*’

For further learning, please see:

    Try PubNub Today

    Try Our APIs
    • 1M Transactions
    • 1GB Data Persistence
    • All major Features