TokyoMuleSoft_08.08.24_SalesforcePubSub.pdf

Shenyifeng1 125 views 15 slides Aug 08, 2024
Slide 1
Slide 1 of 15
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15

About This Presentation

Max’s Birthday Adventure: Pub/Sub integration within MuleSoft


Slide Content

Max’s Birthday at Tokyo:Salesforce Pub/Sub
APIs with MuleSoft
Jérôme Brügger, Salesforce Solution & Integration Architect
https://www.linkedin.com/in/bruggerj/
He/Him

Agenda
●Introductionaboutthe presenter
●Whatis Salesforce?
●SFDC: Integration options
●SFDC: Event-Driven Architecture
●Platform Events with Pub/Sub APIs
●Example of a business case
●Platform Events: AdditionalInformation
●Decompose our Mule application
●Q&A

Introductionabout the presenter
Soft skills:
Critical thinking, Teamwork & Dedication
Values:
Fairness, Integrity & Attentiveness
Jérôme Brügger
Solution & Integration Architect
Certifications:
49x Salesforce / MuleSoft certifications including:
•MuleSoftAssociate, MCD-I, MCD-II, MCPA-I &
MCIA-I
+ Scrum PSM-I & PSPO-I, PRINCE2 & ITIL Foundation

What is Salesforce?

What is Salesforce?

SFDC: Integration options
Available DesignPatterns*:
●Remote Process Invocation-Request and Reply
●Remote Process Invocation-Fire and Forget
●Batch Data Synchronization
●Remote Call-In
●UI Update Based on Data Changes
●Data Virtualization
Main Capabilities:
●REST APIs (Standard, Composite)
●SOAP APIs
●HTTP Callout (Apex, Flow)
●External Services
●Bulk APIs
●Metadata APIs
●Pub/Sub APIs (and previously CometD)
●GraphQL
* Source: https://developer.salesforce.com/docs/atlas.en-
us.integration_patterns_and_practices.meta/integration_patterns_and_practices/integ_pat_data_virtualization.htm

SFDC: Event-Driven Architecture
Source:
https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_intro_architecture.htm

Platform Events with Pub/Sub APIs
"Use Pub/Sub API to subscribe to event messages in an external client to integrate your systems. Simplify
your developmentby using one APIto publish, subscribe, and retrieve the event schema. Based on gRPC
and HTTP/2, Pub/Sub API enables efficient delivery of binary event messages in the Apache Avro format."
"Salesforce sends platform events to Pub/Sub API clients sequentially in the order they’re received. The
order of event notifications is based on the replay ID of events. A client can receive a batch of events at
once."
"The event schema is versioned-when the schema changes, the schema ID changes as well."
Source:
https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_subscribe_pubsub_api.htm

Example of a business case

Platform Events: AdditionalInformation
Source:
https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_limits_default.htm

Platform Events: AdditionalInformation
Source:
https://help.salesforce.com/s/articleView?id=release-notes.rn_api_integration_license.htm&release=242&type=5

Platform Events: AdditionalInformation

DecomposeourMule application

Q&A

Thank you!