Scaling Streaming Consumption
Only one streaming consumer can receive business events on the Streaming API at any one time. If another streaming consumer connects and sends the "subscribe" request, the consumer receives a 4409 error.
For resilience, scale out the number of streaming consumers so that each streaming consumer:
- Connects to the Streaming API
- Sends the "init" request
- Sends the below request to query the
connection:
query { connection { id status } }
Parent topic: Connecting to the Streaming API