Understand Salesforce Governance Limits January 7, 2021|Salesfoce Integration

 Most of us develop APIs for Salesforce integration. There are different ways of integrating with salesforce

  • SOAP (core API)
  • Bulk
  • Streaming
  • Metadata
  • Apex SOAP
  • Apex REST
  • Platform Events
  • Composite



 

Now we all know Salesforce in a Multi tenant environment and there are governance limits enforced by Salesforce for CDC events, API calls and SOQL queries.

We need to understand, design and implement the salesforce - Mulesoft Integrations/APIs keeping in mind these goverance limits and License limits

For Example if you are doing a Change data capture events do you know the default limit for number of objects on which you can enable CDC events on an org is 5. We surely can go for higher number of objects but needs to get the appropriate licensing

No we have seen number of objects. Now do you know the number of CDC events that you can get across the Org is limited to 50000 per day. Now lets say you have high volume of changes that happen in a day, your hitting the license limits and will be generating GAP and Overflow CDC events which does not have change data

GAP events atleast have Record Id of what has been changed but overflow event does not even have the information.

Please refer to the documentation below of Change data capture allocations

https://developer.salesforce.com/docs/atlas.en-us.226.0.change_data_capture.meta/change_data_capture/cdc_allocations.htm

 Also understand the Apex Governance Limits for Salesforce implementation. 

https://developer.salesforce.com/docs/atlas.en-us.216.0.apexcode.meta/apexcode/apex_gov_limits.htm


 Remember these Change Data capture allocations of SOQL allocations are for every one working with Salesforce not just MuleSoft applications. 

Comments

Popular posts from this blog

Understanding of Persistence in MuleSoft Runtime Fabric explained July 1, 2021|Runtime Fabric

MuleSoft New Pricing and Packaging