SlideShare a Scribd company logo
1 of 33
13th January 2024
Winnipeg MuleSoft Meetup Group
Async API Specifications in MuleSoft to Handle
Events
Drop a message in the chat
Where are you joining from
3
● Introductions/Community Updates
● Main Presentation
● Questions & Answers
● See you next time
Agenda
4
● Manna Akpan
● Background in Optometry – nearly 14
years ago.
● Fulltime Solution Architect @ EPAM with
specialty in API Integration Practices.
Part-time FIFA soccer gamer. Started
writing mule applications in 2016.
● Part of the Co-organizers of the Winnipeg
Meetup.
● Your Moderator for the day.
Who am I?
5
● Mariano Sanchez Zetina.
● Sr Expert Applications Decelopment at
Nestlé.
● MuleSoft Architect, Mentor and Meetup
Leader.
● An AWS and Azure Cloud Enthusiast,
Data Engineer with extensive knowledge
in Integration and EDA.
● Lives in Mexico City.
● Our Speaker for the day.
Our Speaker
Winnipeg & Global
Community Updates
7
Global MuleSoft
Community
Conference
Global MuleSoft Community Conference
8
● if you interested in sharing your knowledge and
expertise.
● if you are interested in learning more about a
subject.
● if you know a Subject Matter Expert who is
interested in sharing their knowledge and expertise.
● Google Form:
https://forms.gle/UxZzLAwhj2e6FiCM9
Speaking at a Winnipeg Community Meetup
9
● We are planning a Meetup in March 2024. Looking for Speakers.
○ https://t.ly/wpgmulesoftmeetup
● We plan to host our first in-person meetup for the year, in May 2024. We are
looking for local sponsors. If you are located in Winnipeg, and your company
is open to sponsor our meetup, please reach out to me directly.
○ Email: makpan93@gmail.com
Upcoming Meetups
Let the Presentation Begin…
Async API
specifications
Winnipeg Community
Mariano Sanchez Zetina
MuleSoft mentor | MuleSoft meetup leader in México city
He/Him
AGENDA
● Introductions
● Let’s talk about “Async” concept
● What is Async API
● The advantages of Async API Specs
● Important concepts about Async specs
● The Async specification file
● Async API in Anypoint
Introductions
About the speaker
○ Around 10 years working as IT professional.
○ MuleSoft Mentor.
○ MuleSoft community leader in México City.
What is Async
The example of the support call center
●Scenario 1
The bank’s analyst take my call and ask me to wait
meanwhile He is creating a report on the new
charges made on my card after the investigation,
then the analyst proceed to cancel my card.
●Scenario 2
The bank´s analyst take my call and told me that
once He finishes his investigation He will send me a
report of the new charges (if there are), and he will
call me again to confirm me when my card´s
cancellation is done.
●Statement:
I lost my credit card and I’m calling to my bank’s call center in order to know if there are new charges and I want to
cancel my card.
What is Async
The example of the support call center
●Scenario 1
The bank’s analyst take my call and ask me to wait
meanwhile He is creating a report on the new
charges made on my card after the investigation,
then the analyst proceed to cancel my card.
●Scenario 2
The bank´s analyst take my call and told me that
once He finishes his investigation He will send me a
report of the new charges (if there are), and he will
call me again to confirm me when my card´s
cancellation is done.
●Statement:
I lost my credit card and I’m calling to my bank’s call center in order to know if there are new charges and I want to
cancel my card.
Sync vs Async
In terms of services
“Synchronous Communication”
Let's consider a client-server architecture where a client sends a request to a server and waits for a response before proceeding
“Asynchronous Communication”
Let's consider a publish-subscribe architecture where a publisher sends a message to multiple subscribers without waiting for their
responses.
Sync vs Async
In terms of services
“Synchronous Communication”
Let's consider a client-server architecture where a client sends a request to a server and waits for a response before proceeding
“Asynchronous Communication”
Let's consider a publish-subscribe architecture where a publisher sends a message to multiple subscribers without waiting for their
responses.
Advantages of Async Specifications
● Discoverability
● Governance
● Interoperability
● Open Source
● Protocol Agnostic
● Platform Agnostic
● Useful to describe
● Many Tools in the market
● Documentation
● Reusability
● Reduce
Implementation
times
Parts of the Async Specifications
Id
Servers (Brokers)
Channels (Topics)
Operation (Pub, Sub)
Summary
Message (event, record)
Headers Payload
Tags Ext Docs
Components
Schemas Security
Schemas
Messages Parameters
Correlation
Ids
Traits
Info
Use case
● Customer places an order through the Sales Application.
● The Sales Application publishes the order details as a message to a Kafka topic called "orders".
● The Order Processing Service and Inventory Management Service subscribe to the "orders" topic to receive order
messages.
● The Order Processing Service consumes the order message, processes the order, and updates the order status.
● If the order can be fulfilled, the Inventory Management Service is notified to update the stock levels accordingly.
● The Order Processing Service publishes the updated order status as a message to a Kafka topic called "order-status".
The processing orders system
Use case
● The Shipping Service subscribes to the "order-status" topic to receive order status messages.
● The Shipping Service consumes the order status message, prepares the order for shipping, and updates the shipping
status.
● The customer can track the order status through the Sales Application, which consumes the order status messages
from the "order-status" topic.
The processing orders system
Use case
The processing orders system
Customer Sales application Kafka service
Order Processing
service
Place order
Inventory management
service
Shipping service
Publish order
Consume order
Update Stock levels
“Orders” Topic
Process order
Publish order status
“Order-Status” Topic
Consume order status
Update Shipping status
Example of Async file
Example of Async file
Example of Async file
Example of Async file
Example of Async file
Future of Async Specs in MuleSoft
● Async Specs V3
● API management policies applicable to Async APIs
● Usage of Async APIs as Connectors.
Thank You
Q & A
Share
31
• Share Meetup in your social network.
• Give some kudos to our speaker on
LinkedIn
• Use Hashtags
– #MuleSoftMeetup
– #MuleSoftMeetupWinnipeg
• Instagram: @mulesoftmeetupwpg
Thank you 
• Feedback:
• Fill out the survey feedback and suggest topics for
upcoming events
• Contact MuleSoft at meetups@mulesoft.com for
ways to improve the program
See you next time
Thank you

More Related Content

Similar to Async API specifications in MuleSoft to hand

Real Time Streaming - Apache Kafka
Real Time Streaming - Apache KafkaReal Time Streaming - Apache Kafka
Real Time Streaming - Apache KafkaKnoldus Inc.
 
Learn Anypoint MQ | MuleSoft Mysore Meetup #7
Learn Anypoint MQ | MuleSoft Mysore Meetup #7Learn Anypoint MQ | MuleSoft Mysore Meetup #7
Learn Anypoint MQ | MuleSoft Mysore Meetup #7MysoreMuleSoftMeetup
 
apidays LIVE Australia 2021 - Leveraging Async APIs to deliver Cross Domain A...
apidays LIVE Australia 2021 - Leveraging Async APIs to deliver Cross Domain A...apidays LIVE Australia 2021 - Leveraging Async APIs to deliver Cross Domain A...
apidays LIVE Australia 2021 - Leveraging Async APIs to deliver Cross Domain A...apidays
 
Managing Large Scale Financial Time-Series Data with Graphs
Managing Large Scale Financial Time-Series Data with Graphs Managing Large Scale Financial Time-Series Data with Graphs
Managing Large Scale Financial Time-Series Data with Graphs Objectivity
 
Railway Reservation System - Requirement Engineering
Railway Reservation System - Requirement EngineeringRailway Reservation System - Requirement Engineering
Railway Reservation System - Requirement EngineeringDanish Javed
 
Flink Forward Berlin 2017: Bas Geerdink, Martijn Visser - Fast Data at ING - ...
Flink Forward Berlin 2017: Bas Geerdink, Martijn Visser - Fast Data at ING - ...Flink Forward Berlin 2017: Bas Geerdink, Martijn Visser - Fast Data at ING - ...
Flink Forward Berlin 2017: Bas Geerdink, Martijn Visser - Fast Data at ING - ...Flink Forward
 
OSDC 2018 | From Monolith to Microservices by Paul Puschmann_
OSDC 2018 | From Monolith to Microservices by Paul Puschmann_OSDC 2018 | From Monolith to Microservices by Paul Puschmann_
OSDC 2018 | From Monolith to Microservices by Paul Puschmann_NETWAYS
 
online-shopping-documentation-srs for TYBSCIT sem 6
 online-shopping-documentation-srs for TYBSCIT sem 6 online-shopping-documentation-srs for TYBSCIT sem 6
online-shopping-documentation-srs for TYBSCIT sem 6YogeshDhamke2
 
Customer portal integration with sap crb is tough! think again
Customer portal integration with sap crb is tough! think againCustomer portal integration with sap crb is tough! think again
Customer portal integration with sap crb is tough! think againrobgirvan
 
Ledingkart Meetup #1: Monolithic to microservices in action
Ledingkart Meetup #1: Monolithic to microservices in actionLedingkart Meetup #1: Monolithic to microservices in action
Ledingkart Meetup #1: Monolithic to microservices in actionMukesh Singh
 
Kochi mulesoft meetup 02
Kochi mulesoft meetup 02Kochi mulesoft meetup 02
Kochi mulesoft meetup 02sumitahuja94
 
Measure your product performance
Measure your product performanceMeasure your product performance
Measure your product performanceAlex (Phuong) Tran
 
Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...
Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...
Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...Flink Forward
 
Event-Driven Applications Done Right - Pulsar Summit SF 2022
Event-Driven Applications Done Right - Pulsar Summit SF 2022Event-Driven Applications Done Right - Pulsar Summit SF 2022
Event-Driven Applications Done Right - Pulsar Summit SF 2022StreamNative
 
new blog on coinbase - Google Docs.pdf
new blog on coinbase - Google Docs.pdfnew blog on coinbase - Google Docs.pdf
new blog on coinbase - Google Docs.pdfharikacheluru
 
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...apidays
 
Agile Gurugram 2023 | Observability for Modern Applications. How does it help...
Agile Gurugram 2023 | Observability for Modern Applications. How does it help...Agile Gurugram 2023 | Observability for Modern Applications. How does it help...
Agile Gurugram 2023 | Observability for Modern Applications. How does it help...AgileNetwork
 

Similar to Async API specifications in MuleSoft to hand (20)

Real Time Streaming - Apache Kafka
Real Time Streaming - Apache KafkaReal Time Streaming - Apache Kafka
Real Time Streaming - Apache Kafka
 
Learn Anypoint MQ | MuleSoft Mysore Meetup #7
Learn Anypoint MQ | MuleSoft Mysore Meetup #7Learn Anypoint MQ | MuleSoft Mysore Meetup #7
Learn Anypoint MQ | MuleSoft Mysore Meetup #7
 
Olist Architecture v2.0
Olist Architecture v2.0Olist Architecture v2.0
Olist Architecture v2.0
 
Tandem Bank and AWS
Tandem Bank and AWSTandem Bank and AWS
Tandem Bank and AWS
 
apidays LIVE Australia 2021 - Leveraging Async APIs to deliver Cross Domain A...
apidays LIVE Australia 2021 - Leveraging Async APIs to deliver Cross Domain A...apidays LIVE Australia 2021 - Leveraging Async APIs to deliver Cross Domain A...
apidays LIVE Australia 2021 - Leveraging Async APIs to deliver Cross Domain A...
 
Managing Large Scale Financial Time-Series Data with Graphs
Managing Large Scale Financial Time-Series Data with Graphs Managing Large Scale Financial Time-Series Data with Graphs
Managing Large Scale Financial Time-Series Data with Graphs
 
Railway Reservation System - Requirement Engineering
Railway Reservation System - Requirement EngineeringRailway Reservation System - Requirement Engineering
Railway Reservation System - Requirement Engineering
 
Flink Forward Berlin 2017: Bas Geerdink, Martijn Visser - Fast Data at ING - ...
Flink Forward Berlin 2017: Bas Geerdink, Martijn Visser - Fast Data at ING - ...Flink Forward Berlin 2017: Bas Geerdink, Martijn Visser - Fast Data at ING - ...
Flink Forward Berlin 2017: Bas Geerdink, Martijn Visser - Fast Data at ING - ...
 
OSDC 2018 | From Monolith to Microservices by Paul Puschmann_
OSDC 2018 | From Monolith to Microservices by Paul Puschmann_OSDC 2018 | From Monolith to Microservices by Paul Puschmann_
OSDC 2018 | From Monolith to Microservices by Paul Puschmann_
 
online-shopping-documentation-srs for TYBSCIT sem 6
 online-shopping-documentation-srs for TYBSCIT sem 6 online-shopping-documentation-srs for TYBSCIT sem 6
online-shopping-documentation-srs for TYBSCIT sem 6
 
Customer portal integration with sap crb is tough! think again
Customer portal integration with sap crb is tough! think againCustomer portal integration with sap crb is tough! think again
Customer portal integration with sap crb is tough! think again
 
Ledingkart Meetup #1: Monolithic to microservices in action
Ledingkart Meetup #1: Monolithic to microservices in actionLedingkart Meetup #1: Monolithic to microservices in action
Ledingkart Meetup #1: Monolithic to microservices in action
 
Kochi mulesoft meetup 02
Kochi mulesoft meetup 02Kochi mulesoft meetup 02
Kochi mulesoft meetup 02
 
Measure your product performance
Measure your product performanceMeasure your product performance
Measure your product performance
 
Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...
Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...
Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...
 
WSO2 ITALIA SMARTTALK #8 ASYNCAPI.pdf
WSO2 ITALIA SMARTTALK #8 ASYNCAPI.pdfWSO2 ITALIA SMARTTALK #8 ASYNCAPI.pdf
WSO2 ITALIA SMARTTALK #8 ASYNCAPI.pdf
 
Event-Driven Applications Done Right - Pulsar Summit SF 2022
Event-Driven Applications Done Right - Pulsar Summit SF 2022Event-Driven Applications Done Right - Pulsar Summit SF 2022
Event-Driven Applications Done Right - Pulsar Summit SF 2022
 
new blog on coinbase - Google Docs.pdf
new blog on coinbase - Google Docs.pdfnew blog on coinbase - Google Docs.pdf
new blog on coinbase - Google Docs.pdf
 
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...
apidays LIVE New York 2021 - Managing the usage of Asynchronous APIs: What do...
 
Agile Gurugram 2023 | Observability for Modern Applications. How does it help...
Agile Gurugram 2023 | Observability for Modern Applications. How does it help...Agile Gurugram 2023 | Observability for Modern Applications. How does it help...
Agile Gurugram 2023 | Observability for Modern Applications. How does it help...
 

Recently uploaded

OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...kalichargn70th171
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyAnusha Are
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfryanfarris8
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...Nitya salvi
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 

Recently uploaded (20)

OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 

Async API specifications in MuleSoft to hand

  • 1. 13th January 2024 Winnipeg MuleSoft Meetup Group Async API Specifications in MuleSoft to Handle Events
  • 2. Drop a message in the chat Where are you joining from
  • 3. 3 ● Introductions/Community Updates ● Main Presentation ● Questions & Answers ● See you next time Agenda
  • 4. 4 ● Manna Akpan ● Background in Optometry – nearly 14 years ago. ● Fulltime Solution Architect @ EPAM with specialty in API Integration Practices. Part-time FIFA soccer gamer. Started writing mule applications in 2016. ● Part of the Co-organizers of the Winnipeg Meetup. ● Your Moderator for the day. Who am I?
  • 5. 5 ● Mariano Sanchez Zetina. ● Sr Expert Applications Decelopment at Nestlé. ● MuleSoft Architect, Mentor and Meetup Leader. ● An AWS and Azure Cloud Enthusiast, Data Engineer with extensive knowledge in Integration and EDA. ● Lives in Mexico City. ● Our Speaker for the day. Our Speaker
  • 8. 8 ● if you interested in sharing your knowledge and expertise. ● if you are interested in learning more about a subject. ● if you know a Subject Matter Expert who is interested in sharing their knowledge and expertise. ● Google Form: https://forms.gle/UxZzLAwhj2e6FiCM9 Speaking at a Winnipeg Community Meetup
  • 9. 9 ● We are planning a Meetup in March 2024. Looking for Speakers. ○ https://t.ly/wpgmulesoftmeetup ● We plan to host our first in-person meetup for the year, in May 2024. We are looking for local sponsors. If you are located in Winnipeg, and your company is open to sponsor our meetup, please reach out to me directly. ○ Email: makpan93@gmail.com Upcoming Meetups
  • 11. Async API specifications Winnipeg Community Mariano Sanchez Zetina MuleSoft mentor | MuleSoft meetup leader in México city He/Him
  • 12. AGENDA ● Introductions ● Let’s talk about “Async” concept ● What is Async API ● The advantages of Async API Specs ● Important concepts about Async specs ● The Async specification file ● Async API in Anypoint
  • 13. Introductions About the speaker ○ Around 10 years working as IT professional. ○ MuleSoft Mentor. ○ MuleSoft community leader in México City.
  • 14. What is Async The example of the support call center ●Scenario 1 The bank’s analyst take my call and ask me to wait meanwhile He is creating a report on the new charges made on my card after the investigation, then the analyst proceed to cancel my card. ●Scenario 2 The bank´s analyst take my call and told me that once He finishes his investigation He will send me a report of the new charges (if there are), and he will call me again to confirm me when my card´s cancellation is done. ●Statement: I lost my credit card and I’m calling to my bank’s call center in order to know if there are new charges and I want to cancel my card.
  • 15. What is Async The example of the support call center ●Scenario 1 The bank’s analyst take my call and ask me to wait meanwhile He is creating a report on the new charges made on my card after the investigation, then the analyst proceed to cancel my card. ●Scenario 2 The bank´s analyst take my call and told me that once He finishes his investigation He will send me a report of the new charges (if there are), and he will call me again to confirm me when my card´s cancellation is done. ●Statement: I lost my credit card and I’m calling to my bank’s call center in order to know if there are new charges and I want to cancel my card.
  • 16. Sync vs Async In terms of services “Synchronous Communication” Let's consider a client-server architecture where a client sends a request to a server and waits for a response before proceeding “Asynchronous Communication” Let's consider a publish-subscribe architecture where a publisher sends a message to multiple subscribers without waiting for their responses.
  • 17. Sync vs Async In terms of services “Synchronous Communication” Let's consider a client-server architecture where a client sends a request to a server and waits for a response before proceeding “Asynchronous Communication” Let's consider a publish-subscribe architecture where a publisher sends a message to multiple subscribers without waiting for their responses.
  • 18. Advantages of Async Specifications ● Discoverability ● Governance ● Interoperability ● Open Source ● Protocol Agnostic ● Platform Agnostic ● Useful to describe ● Many Tools in the market ● Documentation ● Reusability ● Reduce Implementation times
  • 19. Parts of the Async Specifications Id Servers (Brokers) Channels (Topics) Operation (Pub, Sub) Summary Message (event, record) Headers Payload Tags Ext Docs Components Schemas Security Schemas Messages Parameters Correlation Ids Traits Info
  • 20. Use case ● Customer places an order through the Sales Application. ● The Sales Application publishes the order details as a message to a Kafka topic called "orders". ● The Order Processing Service and Inventory Management Service subscribe to the "orders" topic to receive order messages. ● The Order Processing Service consumes the order message, processes the order, and updates the order status. ● If the order can be fulfilled, the Inventory Management Service is notified to update the stock levels accordingly. ● The Order Processing Service publishes the updated order status as a message to a Kafka topic called "order-status". The processing orders system
  • 21. Use case ● The Shipping Service subscribes to the "order-status" topic to receive order status messages. ● The Shipping Service consumes the order status message, prepares the order for shipping, and updates the shipping status. ● The customer can track the order status through the Sales Application, which consumes the order status messages from the "order-status" topic. The processing orders system
  • 22. Use case The processing orders system Customer Sales application Kafka service Order Processing service Place order Inventory management service Shipping service Publish order Consume order Update Stock levels “Orders” Topic Process order Publish order status “Order-Status” Topic Consume order status Update Shipping status
  • 28. Future of Async Specs in MuleSoft ● Async Specs V3 ● API management policies applicable to Async APIs ● Usage of Async APIs as Connectors.
  • 30. Q & A
  • 31. Share 31 • Share Meetup in your social network. • Give some kudos to our speaker on LinkedIn • Use Hashtags – #MuleSoftMeetup – #MuleSoftMeetupWinnipeg • Instagram: @mulesoftmeetupwpg Thank you  • Feedback: • Fill out the survey feedback and suggest topics for upcoming events • Contact MuleSoft at meetups@mulesoft.com for ways to improve the program
  • 32. See you next time