Newer Version Available

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

Streaming API Allocations

These default allocations are for basic consumers of Streaming API.

If your application exceeds these allocations, or you have scenarios for which you need to increase the number of concurrent clients, contact Salesforce.

PushTopic Streaming Allocations

The following allocations apply to PushTopic Streaming in all API versions.

Description Performance and Unlimited Editions Enterprise Edition All other supported editions
Maximum number of topics (PushTopic records) per org 100 50 40
Maximum number of concurrent clients (subscribers) per topic or across all topics 2,000 1,000 20
Maximum number of delivered event notifications within a 24-hour period, shared by all CometD clients 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 1,300 characters 1,300 characters 1,300 characters
Maximum length for a PushTopic name 25 characters 25 characters 25 characters

For free orgs, the maximum number of events within a 24-hour period is 10,000. Free orgs include Developer Edition orgs and trial orgs (all editions), such as partner test and demo orgs created through the Environment Hub. Sandboxes get the same allocations as their associated production orgs.

Note

Generic Streaming Allocations

Description Performance and Unlimited Editions Enterprise Edition Professional Edition Free Orgs
Maximum streaming channels per org 1,000 1,000 1,000 200
Maximum number of delivered event notifications within a 24-hour period, shared by all CometD clients, with Generic Streaming (API version 36.0 and earlier) 100,000 100,000 100,000 10,000
Maximum number of delivered event notifications within a 24-hour period, shared by all CometD clients, with Durable Generic Streaming (API version 37.0 and later) 1,000,000 200,000 100,000 10,000

Free orgs include Developer Edition orgs and trial orgs (all editions), such as partner test and demo orgs created through the Environment Hub. Sandboxes get the same allocations as their associated production orgs.

Note

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

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