function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Martina Dimitrieva 2Martina Dimitrieva 2 

Streaming API Limitations

Hello,

I am using Salesforce Streaming API with PushTopic for getting notifications when some Account record is updated. I am using the Service console and I am refreshing the page when I get notifications when some record was updated from the Mini Page Layout in the console. For this purpose, I have overridden the standard view detail page for Accounts. For all this, I am using PushTopic from Streaming API and CometD with jQuery on the client side. 

I want to ask, is there any possibility to hit some limits using the Streaming API with PushTopic, and what are they?     
 
Raj VakatiRaj Vakati
Hi Martina,

Streaming API has its own limits. please find the details here. You may get chance of hitting 24 hours limits. Please refer this line and perform extensive testing with bulk data to see the issue. 

https://developer.salesforce.com/docs/atlas.en-us.api_streaming.meta/api_streaming/limits.htm
https://developer.salesforce.com/blogs/tech-pubs/2014/02/pushing-the-limits-with-streaming-api-in-spring-14.html
 
Martina Dimitrieva 2Martina Dimitrieva 2
Hi Raj,

I am aware of this limits. I was asking if there are any other limits that I can hit with this kind of implementation of Streaming API.
Thanks for your response.