Newer Version Available

This content describes an older version of this product. View Latest

Streaming API Limits

Limits protect shared resources. These are the default limits intended for basic consumers of Streaming API.

If your application exceeds these limits, or you have scenarios where you need to increase the number of clients per topic or the number of concurrent clients across all topics, please contact Salesforce. Salesforce works with many customers processing several million events every day.

Description Performance and Unlimited Editions Enterprise Edition All other editions
Maximum number of topics (PushTopic records) per org 100 50 40
Maximum number of clients (subscribers) per topic 2000 1000 20
Maximum number of concurrent clients (subscribers) across all topics 2000 1000 20
Maximum number of events within a 24–hour period 1,000,000 200,000 50,000 (10,000 for free orgs)
Socket timeout during connection (CometD session) 110 seconds 110 seconds 110 seconds
Timeout to reconnect after successful connection (keepalive) 40 seconds 40 seconds 40 seconds
Maximum length of the SOQL query in the Query field of a PushTopic record 1300 characters 1300 characters 1300 characters
Maximum length for a PushTopic name 25 characters 25 characters 25 characters

Generic Streaming Limits

The following limits apply to Generic Streaming and Durable Generic Streaming.

Description Performance and Unlimited Editions Enterprise Edition Professional Edition Developer Edition
Maximum number of streaming channels per org 1,000 1,000 1,000 200
Maximum number of events within a 24–hour period with Generic Streaming 100,000 100,000 100,000 10,000
Maximum number of events within a 24–hour period with Durable Generic Streaming 1,000,000 200,000 100,000 10,000

Generic Streaming has the same limits for the maximum number of clients and maximum number of concurrent clients as PushTopic Streaming. The following limits apply to Generic Streaming and Durable Generic Streaming.

Description Performance and Unlimited Editions Enterprise Edition All other editions
Maximum number of clients (subscribers) per generic streaming channel 2,000 1,000 20
Maximum number of concurrent clients (subscribers) across all generic streaming channels 2,000 1,000 20