Where can I find clear docs on the API limits for sending platform events IN to sfdc?
The platform events basics trailhead notes that:
provides allocations for how many events you can define in your org, and how many event records you can publish in an hour. Also, because event publishing is equivalent to a DML insert operation, DML limits and other Apex governor limits apply
The DML part makes sense to me because creating an event is a DB insert.
HOWEVER - where are the docs that clearly cover "how many event records you can publish in an hour". The trailhead points you to Execution governors and limits, but this is where it gets muddy.
Total number of DML statements issued: 150. Does this mean only 150 platform events can be raised across an org per hour?
Or for each Apex transaction, 150 platform events can be raised? Do the producers also get charged 1 Apex Rest API call per event raised?
Given the concrete example below, can someone help me answer ALL the limits that are associated with this flow?
- I have a SPA that uses JSForce .sobject().create() to hit
/services/data/v40.0/sobjects/Cloud_News__ewith the request body defined here. This API call is invoked under a token from a salesforce user with a
Enterprise Edition:Partner Communitylicense.
- The Apex controller in my SFDC org, handles the event (1 Apex transaction) and updates a custom object.
What are the specific limits associated with this flow?