Common Platform Event Allocations

Common allocations include allocations for platform event definitions, concurrent CometD clients, and allocations for processes and flows. The common allocations apply to standard-volume and high-volume platform events.

DescriptionPerformance and Unlimited EditionsEnterprise EditionDeveloper EditionProfessional Edition (with API Add-On)
Maximum number of platform event definitions that can be created in an org. See note.1005055
Maximum number of concurrent CometD clients (subscribers) across all channels and for all event types. See note.2,0001,0002020
Maximum number of Process Builder processes and flows that can subscribe to a platform event4,0004,0004,0005
Maximum number of active Process Builder processes and flows that can subscribe to a platform event2,0002,0002,0005
Maximum number of custom channels that can be created for all Platform Events events except Real-Time Event Monitoring events100100100100
Maximum number of custom channels that can be created for all Change Data Capture events100100100100
Maximum number of custom channels that can be created for Real-Time Event Monitoring events3333
Maximum number of distinct custom platform events that can be added to a channel as part of channel members If the same platform event is added to multiple channels, it’s counted once toward the allocation.505055
Maximum number of Real-Time Event Monitoring events that can be added to a channel as part of channel members If the same event is added to multiple channels, it’s counted once toward the allocation.10101010
Maximum event message size that you can publish If your event object has hundreds of custom fields or many long text area fields, you can hit this limit. In this case, the publishing call gets an error.1 MB1 MB1 MB1 MB

Platform Event Definition Allocation 

Platform events that originate from an installed managed package share the org’s allocation for the maximum number of platform event definitions.

Concurrent CometD Client Allocation 

  • The concurrent client allocation applies to CometD and to all types of events: platform events, change events, PushTopic events, and generic events. It doesn’t apply to non-CometD clients, such as Apex triggers, flows, and Process Builder processes. Flows and Process Builder processes apply only to platform events and not to change events. The empApi Lightning component uses CometD and consumes the concurrent client allocation like any other CometD client. Each logged-in user using empApi counts as one concurrent client. If the user has multiple browser tabs using empApi, the streaming connection is shared and is counted as one client for that user. A client that exceeds the concurrent client allocation receives an error and can’t subscribe. When one of the clients disconnects and a connection is available, the new client can subscribe. For more information, see Streaming API Error Codes in the Streaming API Developer Guide.

See Also