Best practices

Best practices

  • Rule configurations are managed independently of connections to the streaming API, which means rules are persisted across disconnections.
  • Rule updates will succeed partially if there is a combination of rules that can and cannot be added. In this case, all authorized rules will be added to the stream, and the rules response will return which succeeded and which did not succeed.
  • Open connections that are not returning any data will return a newline character every 3 seconds. We recommend setting a read timeout on your client, and ensuring that it is set to a value beyond 30 seconds.
  • If you have more than one application whitelisted to access the API, please note that you will be limited to one actively connected application at a time. Additionally, rules uploaded via one application connection may be transferred to another application connection.
     
Was this document helpful?
Thank you

Thank you for the feedback. We’re really glad we could help!

Thank you for the feedback. How could we improve this document?
Thank you for the feedback. Your comments will help us improve our documents in the future.