SlideShare a Scribd company logo
From Events to Persistence:
Leveraging Salesforce Replay Channel &
CockroachDB
Bangalore Meetup Group
Organizers
Speaker
Srita Shervani Velagada
Technical Lead
TEKSystems Global Services India
Agenda
● Introduction
● What is EDA
● Understanding Salesforce Streaming Events & Configuration
● Salesforce Connector
● Why Cockroach DB
● Setting up CockroachDB
● Integrating Salesforce replay channel & Cockroach DB in Mule
● Demo
Event Driven Architecture
Event-driven architecture enables systems to react dynamically to changes rather than
relying on direct interactions. Events represent real-world occurrences like order
placements or payments, allowing asynchronous communication between applications.
Key Benefits:
● Real-time processing: Immediate response to changes.
● Decoupling: Reduces dependencies between services.
● Scalability: Handles high event volumes efficiently.
Salesforce Streaming Events
● PushTopic
● Generic Events
● Platform Events
● CDC-Change Data Capture Events.
High Level Diagram
Cockroach DB
What is Cockroach DB & Key features
CockroachDB is a cloud-based database that stores data across multiple locations to provide quick
access. It's designed to be scalable, fault-tolerant, and highly available.
Features:
● Distributed Architecture
● Automatic Replication
● Transactional Consistency
● Self healing & Recovery
SQL Layer
Transaction Layer
Distribution Layer
Replication Layer
Storage Layer
SQL Layer
Transaction Layer
Distribution Layer
Replication Layer
Storage Layer
Node Node
Pebble KV Store
Write to a key in
key-range 2
Range 2 leader
Range 2 follower
Salesforce Connector
• Salesforce is the leading SaaS provider with its flagship CRM platform, available exclusively online.​
• It helps businesses connect to their customers in a whole new way, so they can find more prospects, close more
deals, and wow customers with amazing service.​
• Anypoint Connector for Salesforce (Salesforce Connector) enables you to create apps that react to Salesforce
events such as adding, changing, or deleting objects, topics, and channels.
Salesforce Replay Channel Listener
• This operation can be used to subscribe to salesforce channel/topic events.​
• One more advantage of using replay topic/channel listener is it can can continue from the last replay ID they
received before restarting the application.​
• Earlier versions of connector before 10.14 have only below four options for REPLAY ID at the connector level.​
• 1) ALL​
• 2) ONLY_NEW​
• 3) FROM_REPLAY_ID
• 4)FROM_LAST_REPLAY_ID
-1 : " ONLY_NEW “
• Listens only to new events generated after the subscription starts.
• Ideal for real-time streaming.
• Example Use Case:
• A live dashboard showing only new order updates from Salesforce.
• Real-time fraud detection system processing transactions as they happen.
• All the events generated within 24 or 72 hr retention period will be
consumed.
• Ideal for loading historical data.​
• Example Use Case:
To receive historical data for audit logs/analytics
-2 : “ ALL_EVENTS “
From_Replay_ID
• Resumes from a specific Replay ID that you store.
• Used for guaranteed event processing in case of failures.
• Example Use Case:
• A MuleSoft application storing the last processed Replay ID in Object Store. If the app restarts, it resumes from where it left off.
• Ensures no duplicate processing and no missed events.
From_Last_Replay_ID
• For the first time deployment connector searches for replay id in object store as it cant get any value it starts with
replay id as -2. ​
• We need to select Replay Option as FROM_LAST_REPLAY_ID and enable ObjectStoreV2 to enable autoreplay
feature.
• Example Use Case:
• A Mule application crashes and restarts. You want to process all events from the last 24 hours.
• A new subscriber needs historical data.
Key Differences
Preferred Design
Thank You
Ad

More Related Content

Similar to From Events to Persistence: Leveraging Salesforce Replay Channel & CockroachDB (20)

Which Application Modernization Pattern Is Right For You?
Which Application Modernization Pattern Is Right For You?Which Application Modernization Pattern Is Right For You?
Which Application Modernization Pattern Is Right For You?
Apigee | Google Cloud
 
Aspect UIP Logical Architecture
Aspect UIP Logical ArchitectureAspect UIP Logical Architecture
Aspect UIP Logical Architecture
Vishad Garg
 
M.S. Dissertation in Salesforce on Force.com
M.S. Dissertation in Salesforce on Force.comM.S. Dissertation in Salesforce on Force.com
M.S. Dissertation in Salesforce on Force.com
Arun Somu Panneerselvam
 
Best Practices for Streaming IoT Data with MQTT and Apache Kafka
Best Practices for Streaming IoT Data with MQTT and Apache KafkaBest Practices for Streaming IoT Data with MQTT and Apache Kafka
Best Practices for Streaming IoT Data with MQTT and Apache Kafka
Kai Wähner
 
Viele Autos, noch mehr Daten: IoT-Daten-Streaming mit MQTT & Kafka (Kai Waehn...
Viele Autos, noch mehr Daten: IoT-Daten-Streaming mit MQTT & Kafka (Kai Waehn...Viele Autos, noch mehr Daten: IoT-Daten-Streaming mit MQTT & Kafka (Kai Waehn...
Viele Autos, noch mehr Daten: IoT-Daten-Streaming mit MQTT & Kafka (Kai Waehn...
confluent
 
Data & Analytics Forum: Moving Telcos to Real Time
Data & Analytics Forum: Moving Telcos to Real TimeData & Analytics Forum: Moving Telcos to Real Time
Data & Analytics Forum: Moving Telcos to Real Time
SingleStore
 
2019 hashiconf seattle_consul_ioc
2019 hashiconf seattle_consul_ioc2019 hashiconf seattle_consul_ioc
2019 hashiconf seattle_consul_ioc
Pierre Souchay
 
High Volume Payments using Mule
High Volume Payments using MuleHigh Volume Payments using Mule
High Volume Payments using Mule
Adhish Pendharkar
 
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld
 
5 Reasons DevOps Toolchain Needs Time-Series Based Monitoring
5 Reasons DevOps Toolchain Needs Time-Series Based Monitoring5 Reasons DevOps Toolchain Needs Time-Series Based Monitoring
5 Reasons DevOps Toolchain Needs Time-Series Based Monitoring
DevOps.com
 
VAS - VMware CMP
VAS - VMware CMPVAS - VMware CMP
VAS - VMware CMP
Mohamed El Shorbagy ☁☁☁
 
IBM Blockchain Platform - Architectural Good Practices v1.0
IBM Blockchain Platform - Architectural Good Practices v1.0IBM Blockchain Platform - Architectural Good Practices v1.0
IBM Blockchain Platform - Architectural Good Practices v1.0
Matt Lucas
 
Recruiting Application Developed on Salesforce By Vikas Gupta.pdf
Recruiting Application Developed on Salesforce By Vikas Gupta.pdfRecruiting Application Developed on Salesforce By Vikas Gupta.pdf
Recruiting Application Developed on Salesforce By Vikas Gupta.pdf
vikas845288
 
abdulrahman
abdulrahman abdulrahman
abdulrahman
Abdul Rahman
 
Intel IT Open Cloud - What's under the Hood and How do we Drive it?
Intel IT Open Cloud - What's under the Hood and How do we Drive it?Intel IT Open Cloud - What's under the Hood and How do we Drive it?
Intel IT Open Cloud - What's under the Hood and How do we Drive it?
Odinot Stanislas
 
Serena Release Management approach and solutions
Serena Release Management approach and solutionsSerena Release Management approach and solutions
Serena Release Management approach and solutions
Softmart
 
Data Stack Summit 2023
Data Stack Summit 2023Data Stack Summit 2023
Data Stack Summit 2023
Manimuthu Ayyannan
 
Mdop session from Microsoft partner boot camp
Mdop session from Microsoft partner boot campMdop session from Microsoft partner boot camp
Mdop session from Microsoft partner boot camp
Olav Tvedt
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
Peter Caitens
 
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Piyush Kumar
 
Which Application Modernization Pattern Is Right For You?
Which Application Modernization Pattern Is Right For You?Which Application Modernization Pattern Is Right For You?
Which Application Modernization Pattern Is Right For You?
Apigee | Google Cloud
 
Aspect UIP Logical Architecture
Aspect UIP Logical ArchitectureAspect UIP Logical Architecture
Aspect UIP Logical Architecture
Vishad Garg
 
M.S. Dissertation in Salesforce on Force.com
M.S. Dissertation in Salesforce on Force.comM.S. Dissertation in Salesforce on Force.com
M.S. Dissertation in Salesforce on Force.com
Arun Somu Panneerselvam
 
Best Practices for Streaming IoT Data with MQTT and Apache Kafka
Best Practices for Streaming IoT Data with MQTT and Apache KafkaBest Practices for Streaming IoT Data with MQTT and Apache Kafka
Best Practices for Streaming IoT Data with MQTT and Apache Kafka
Kai Wähner
 
Viele Autos, noch mehr Daten: IoT-Daten-Streaming mit MQTT & Kafka (Kai Waehn...
Viele Autos, noch mehr Daten: IoT-Daten-Streaming mit MQTT & Kafka (Kai Waehn...Viele Autos, noch mehr Daten: IoT-Daten-Streaming mit MQTT & Kafka (Kai Waehn...
Viele Autos, noch mehr Daten: IoT-Daten-Streaming mit MQTT & Kafka (Kai Waehn...
confluent
 
Data & Analytics Forum: Moving Telcos to Real Time
Data & Analytics Forum: Moving Telcos to Real TimeData & Analytics Forum: Moving Telcos to Real Time
Data & Analytics Forum: Moving Telcos to Real Time
SingleStore
 
2019 hashiconf seattle_consul_ioc
2019 hashiconf seattle_consul_ioc2019 hashiconf seattle_consul_ioc
2019 hashiconf seattle_consul_ioc
Pierre Souchay
 
High Volume Payments using Mule
High Volume Payments using MuleHigh Volume Payments using Mule
High Volume Payments using Mule
Adhish Pendharkar
 
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld
 
5 Reasons DevOps Toolchain Needs Time-Series Based Monitoring
5 Reasons DevOps Toolchain Needs Time-Series Based Monitoring5 Reasons DevOps Toolchain Needs Time-Series Based Monitoring
5 Reasons DevOps Toolchain Needs Time-Series Based Monitoring
DevOps.com
 
IBM Blockchain Platform - Architectural Good Practices v1.0
IBM Blockchain Platform - Architectural Good Practices v1.0IBM Blockchain Platform - Architectural Good Practices v1.0
IBM Blockchain Platform - Architectural Good Practices v1.0
Matt Lucas
 
Recruiting Application Developed on Salesforce By Vikas Gupta.pdf
Recruiting Application Developed on Salesforce By Vikas Gupta.pdfRecruiting Application Developed on Salesforce By Vikas Gupta.pdf
Recruiting Application Developed on Salesforce By Vikas Gupta.pdf
vikas845288
 
Intel IT Open Cloud - What's under the Hood and How do we Drive it?
Intel IT Open Cloud - What's under the Hood and How do we Drive it?Intel IT Open Cloud - What's under the Hood and How do we Drive it?
Intel IT Open Cloud - What's under the Hood and How do we Drive it?
Odinot Stanislas
 
Serena Release Management approach and solutions
Serena Release Management approach and solutionsSerena Release Management approach and solutions
Serena Release Management approach and solutions
Softmart
 
Mdop session from Microsoft partner boot camp
Mdop session from Microsoft partner boot campMdop session from Microsoft partner boot camp
Mdop session from Microsoft partner boot camp
Olav Tvedt
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
Peter Caitens
 
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Piyush Kumar
 

More from shyamraj55 (20)

Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Leveraging AI and Agentforce for Intelligent Automation in the Salesforce & M...
Leveraging AI and Agentforce for Intelligent Automation in the Salesforce & M...Leveraging AI and Agentforce for Intelligent Automation in the Salesforce & M...
Leveraging AI and Agentforce for Intelligent Automation in the Salesforce & M...
shyamraj55
 
Understanding Traditional AI with Custom Vision & MuleSoft.pptx
Understanding Traditional AI with Custom Vision & MuleSoft.pptxUnderstanding Traditional AI with Custom Vision & MuleSoft.pptx
Understanding Traditional AI with Custom Vision & MuleSoft.pptx
shyamraj55
 
Dreamforce Tour: MuleSoft Meets AI: IDP for Modern Enterprises
Dreamforce Tour: MuleSoft Meets AI: IDP for Modern EnterprisesDreamforce Tour: MuleSoft Meets AI: IDP for Modern Enterprises
Dreamforce Tour: MuleSoft Meets AI: IDP for Modern Enterprises
shyamraj55
 
Global Exception Handling Custom Error Connector In MuleSoft
Global Exception Handling Custom Error Connector In MuleSoftGlobal Exception Handling Custom Error Connector In MuleSoft
Global Exception Handling Custom Error Connector In MuleSoft
shyamraj55
 
Getting started with Async API | Bangalore MuleSoft Meetup #41
Getting started with Async API | Bangalore MuleSoft Meetup #41Getting started with Async API | Bangalore MuleSoft Meetup #41
Getting started with Async API | Bangalore MuleSoft Meetup #41
shyamraj55
 
Anypoint Code Builder June Release Overview, ASync API and Einstein Features....
Anypoint Code Builder June Release Overview, ASync API and Einstein Features....Anypoint Code Builder June Release Overview, ASync API and Einstein Features....
Anypoint Code Builder June Release Overview, ASync API and Einstein Features....
shyamraj55
 
Integrating Kafka with MuleSoft 4 and usecase
Integrating Kafka with MuleSoft 4 and usecaseIntegrating Kafka with MuleSoft 4 and usecase
Integrating Kafka with MuleSoft 4 and usecase
shyamraj55
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Anypoint Mq, Einstien for ACB and MDC loggingBangalore MuleSoft Meetup #36-.pptx
Anypoint Mq, Einstien for ACB and MDC loggingBangalore MuleSoft Meetup #36-.pptxAnypoint Mq, Einstien for ACB and MDC loggingBangalore MuleSoft Meetup #36-.pptx
Anypoint Mq, Einstien for ACB and MDC loggingBangalore MuleSoft Meetup #36-.pptx
shyamraj55
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
shyamraj55
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
shyamraj55
 
ServiceNow Integration with MuleSoft.pptx
ServiceNow Integration with MuleSoft.pptxServiceNow Integration with MuleSoft.pptx
ServiceNow Integration with MuleSoft.pptx
shyamraj55
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
shyamraj55
 
How to release an Open Source Dataweave Library
How to release an Open Source Dataweave LibraryHow to release an Open Source Dataweave Library
How to release an Open Source Dataweave Library
shyamraj55
 
Unleash the Solace Pub Sub connector | Banaglore MuleSoft Meetup #31
Unleash the Solace Pub Sub connector | Banaglore MuleSoft Meetup #31Unleash the Solace Pub Sub connector | Banaglore MuleSoft Meetup #31
Unleash the Solace Pub Sub connector | Banaglore MuleSoft Meetup #31
shyamraj55
 
Munit In Mule 4 | Patna MuleSoft Meetup #26
Munit In Mule 4 | Patna MuleSoft Meetup #26Munit In Mule 4 | Patna MuleSoft Meetup #26
Munit In Mule 4 | Patna MuleSoft Meetup #26
shyamraj55
 
An overview of Anypoint API Community Manager
An overview of Anypoint API  Community ManagerAn overview of Anypoint API  Community Manager
An overview of Anypoint API Community Manager
shyamraj55
 
CryptoGraphy Module in Mulesoft
CryptoGraphy Module in MulesoftCryptoGraphy Module in Mulesoft
CryptoGraphy Module in Mulesoft
shyamraj55
 
Simplifying Plugin & Dependency Management with POM, Parent-POM, and BOM
Simplifying Plugin & Dependency Management with POM, Parent-POM, and BOMSimplifying Plugin & Dependency Management with POM, Parent-POM, and BOM
Simplifying Plugin & Dependency Management with POM, Parent-POM, and BOM
shyamraj55
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Leveraging AI and Agentforce for Intelligent Automation in the Salesforce & M...
Leveraging AI and Agentforce for Intelligent Automation in the Salesforce & M...Leveraging AI and Agentforce for Intelligent Automation in the Salesforce & M...
Leveraging AI and Agentforce for Intelligent Automation in the Salesforce & M...
shyamraj55
 
Understanding Traditional AI with Custom Vision & MuleSoft.pptx
Understanding Traditional AI with Custom Vision & MuleSoft.pptxUnderstanding Traditional AI with Custom Vision & MuleSoft.pptx
Understanding Traditional AI with Custom Vision & MuleSoft.pptx
shyamraj55
 
Dreamforce Tour: MuleSoft Meets AI: IDP for Modern Enterprises
Dreamforce Tour: MuleSoft Meets AI: IDP for Modern EnterprisesDreamforce Tour: MuleSoft Meets AI: IDP for Modern Enterprises
Dreamforce Tour: MuleSoft Meets AI: IDP for Modern Enterprises
shyamraj55
 
Global Exception Handling Custom Error Connector In MuleSoft
Global Exception Handling Custom Error Connector In MuleSoftGlobal Exception Handling Custom Error Connector In MuleSoft
Global Exception Handling Custom Error Connector In MuleSoft
shyamraj55
 
Getting started with Async API | Bangalore MuleSoft Meetup #41
Getting started with Async API | Bangalore MuleSoft Meetup #41Getting started with Async API | Bangalore MuleSoft Meetup #41
Getting started with Async API | Bangalore MuleSoft Meetup #41
shyamraj55
 
Anypoint Code Builder June Release Overview, ASync API and Einstein Features....
Anypoint Code Builder June Release Overview, ASync API and Einstein Features....Anypoint Code Builder June Release Overview, ASync API and Einstein Features....
Anypoint Code Builder June Release Overview, ASync API and Einstein Features....
shyamraj55
 
Integrating Kafka with MuleSoft 4 and usecase
Integrating Kafka with MuleSoft 4 and usecaseIntegrating Kafka with MuleSoft 4 and usecase
Integrating Kafka with MuleSoft 4 and usecase
shyamraj55
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Anypoint Mq, Einstien for ACB and MDC loggingBangalore MuleSoft Meetup #36-.pptx
Anypoint Mq, Einstien for ACB and MDC loggingBangalore MuleSoft Meetup #36-.pptxAnypoint Mq, Einstien for ACB and MDC loggingBangalore MuleSoft Meetup #36-.pptx
Anypoint Mq, Einstien for ACB and MDC loggingBangalore MuleSoft Meetup #36-.pptx
shyamraj55
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
shyamraj55
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
shyamraj55
 
ServiceNow Integration with MuleSoft.pptx
ServiceNow Integration with MuleSoft.pptxServiceNow Integration with MuleSoft.pptx
ServiceNow Integration with MuleSoft.pptx
shyamraj55
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
shyamraj55
 
How to release an Open Source Dataweave Library
How to release an Open Source Dataweave LibraryHow to release an Open Source Dataweave Library
How to release an Open Source Dataweave Library
shyamraj55
 
Unleash the Solace Pub Sub connector | Banaglore MuleSoft Meetup #31
Unleash the Solace Pub Sub connector | Banaglore MuleSoft Meetup #31Unleash the Solace Pub Sub connector | Banaglore MuleSoft Meetup #31
Unleash the Solace Pub Sub connector | Banaglore MuleSoft Meetup #31
shyamraj55
 
Munit In Mule 4 | Patna MuleSoft Meetup #26
Munit In Mule 4 | Patna MuleSoft Meetup #26Munit In Mule 4 | Patna MuleSoft Meetup #26
Munit In Mule 4 | Patna MuleSoft Meetup #26
shyamraj55
 
An overview of Anypoint API Community Manager
An overview of Anypoint API  Community ManagerAn overview of Anypoint API  Community Manager
An overview of Anypoint API Community Manager
shyamraj55
 
CryptoGraphy Module in Mulesoft
CryptoGraphy Module in MulesoftCryptoGraphy Module in Mulesoft
CryptoGraphy Module in Mulesoft
shyamraj55
 
Simplifying Plugin & Dependency Management with POM, Parent-POM, and BOM
Simplifying Plugin & Dependency Management with POM, Parent-POM, and BOMSimplifying Plugin & Dependency Management with POM, Parent-POM, and BOM
Simplifying Plugin & Dependency Management with POM, Parent-POM, and BOM
shyamraj55
 
Ad

Recently uploaded (20)

Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Ad

From Events to Persistence: Leveraging Salesforce Replay Channel & CockroachDB

  • 1. From Events to Persistence: Leveraging Salesforce Replay Channel & CockroachDB Bangalore Meetup Group
  • 3. Speaker Srita Shervani Velagada Technical Lead TEKSystems Global Services India
  • 4. Agenda ● Introduction ● What is EDA ● Understanding Salesforce Streaming Events & Configuration ● Salesforce Connector ● Why Cockroach DB ● Setting up CockroachDB ● Integrating Salesforce replay channel & Cockroach DB in Mule ● Demo
  • 5. Event Driven Architecture Event-driven architecture enables systems to react dynamically to changes rather than relying on direct interactions. Events represent real-world occurrences like order placements or payments, allowing asynchronous communication between applications. Key Benefits: ● Real-time processing: Immediate response to changes. ● Decoupling: Reduces dependencies between services. ● Scalability: Handles high event volumes efficiently.
  • 6. Salesforce Streaming Events ● PushTopic ● Generic Events ● Platform Events ● CDC-Change Data Capture Events.
  • 8. Cockroach DB What is Cockroach DB & Key features CockroachDB is a cloud-based database that stores data across multiple locations to provide quick access. It's designed to be scalable, fault-tolerant, and highly available. Features: ● Distributed Architecture ● Automatic Replication ● Transactional Consistency ● Self healing & Recovery
  • 9. SQL Layer Transaction Layer Distribution Layer Replication Layer Storage Layer SQL Layer Transaction Layer Distribution Layer Replication Layer Storage Layer Node Node Pebble KV Store Write to a key in key-range 2 Range 2 leader Range 2 follower
  • 10. Salesforce Connector • Salesforce is the leading SaaS provider with its flagship CRM platform, available exclusively online.​ • It helps businesses connect to their customers in a whole new way, so they can find more prospects, close more deals, and wow customers with amazing service.​ • Anypoint Connector for Salesforce (Salesforce Connector) enables you to create apps that react to Salesforce events such as adding, changing, or deleting objects, topics, and channels.
  • 11. Salesforce Replay Channel Listener • This operation can be used to subscribe to salesforce channel/topic events.​ • One more advantage of using replay topic/channel listener is it can can continue from the last replay ID they received before restarting the application.​ • Earlier versions of connector before 10.14 have only below four options for REPLAY ID at the connector level.​ • 1) ALL​ • 2) ONLY_NEW​ • 3) FROM_REPLAY_ID • 4)FROM_LAST_REPLAY_ID
  • 12. -1 : " ONLY_NEW “ • Listens only to new events generated after the subscription starts. • Ideal for real-time streaming. • Example Use Case: • A live dashboard showing only new order updates from Salesforce. • Real-time fraud detection system processing transactions as they happen. • All the events generated within 24 or 72 hr retention period will be consumed. • Ideal for loading historical data.​ • Example Use Case: To receive historical data for audit logs/analytics -2 : “ ALL_EVENTS “
  • 13. From_Replay_ID • Resumes from a specific Replay ID that you store. • Used for guaranteed event processing in case of failures. • Example Use Case: • A MuleSoft application storing the last processed Replay ID in Object Store. If the app restarts, it resumes from where it left off. • Ensures no duplicate processing and no missed events. From_Last_Replay_ID • For the first time deployment connector searches for replay id in object store as it cant get any value it starts with replay id as -2. ​ • We need to select Replay Option as FROM_LAST_REPLAY_ID and enable ObjectStoreV2 to enable autoreplay feature. • Example Use Case: • A Mule application crashes and restarts. You want to process all events from the last 24 hours. • A new subscriber needs historical data.