SlideShare a Scribd company logo
1 of 12
Trisotech.com
Apache Kafka event
streams with Processes and
Decisions
Maciej Swiderski, Automation Lead at Trisotech
Simon Ringuette, R&D Lead at Trisotech
Trisotech.com
Stay up to date
“The Only Constant in Life Is Change”
Heraclitus
 More and more information is being produced every day, every hour, every minute , every second
 Organizations must be ready for a change at any point in time
 Staying up to date is one of the most important aspect of digital transformation
 At the same time, staying up to date is also the biggest challenge
Trisotech.com
Events and Event streams
 Events are the data snippets that represent something that happened
o Order was placed
o File was deleted
o User registered
 Event streams are flows of events sharing a particular type
 Apache Kafka is one of the distributed streaming platform that took
an established position in handling events and event streams
 Trisotech Digital Enterprise Suite integrates with Apache Kafka as
o Consumer of event streams
o Producer of events
Trisotech.com
DES as Apache Kafka consumer
 Digital Enterprise Suite can act as a consumer of event streams via trigger mechanisms that are available for
workflow processes
 Events can be used to
o Start new instance of the process for each incoming event
o Trigger already active process instances
o Cancel already active process instances
 Events can be correlated to effectively associate incoming events with active process instances
o Correlation based on event body (Kafka record value)
o Correlation based on event key (Kafka record key)
o Correlation based on event headers (Kafka record headers)
Trisotech.com
DES as Apache Kafka Producer
 Digital Enterprise Suite can also be used as event producer on Kafka topics
 Operation that publishe events on defined topics
o Publishing operations are available in both decisions (as BKM) and processes (as service task)
o Publishing operations are explicitly defined within the model
o Structure of the published events are defined by the modeler
 Event emitters publish asynchronous events from within Digital Enterprise Suite
o Event emitters are declared based on asynchronous events produced by DES itself
• Service invocation events are of most interest but there are others as well
o Structure of the events are always based on the Cloud Event specification with Kafka binding
• Binary
• Structured
Trisotech.com
Configuration
 Configuration of Apache Kafka integration depends on requirements (such as consumer vs producer,
operation or event emitter) but the common parts that are required are
o First and foremost is the Apache Kafka Cluster itself
o Credentials to access the Apache Kafka Cluster
o Topic(s)
• It is recommended to create topics upfront and not rely on auto creation of topics
o Partitions and number of instances of Digital Enterprise Suite integrated with it
• Keep number of partitions on par with DES instances for the best performance
Trisotech.com
The example
Trisotech.com
EU Rent
Handling of car incidents
 The example is based on EU Rent - a fictional car rental company
 Use case covered is to handle car incidents with
o Decision service that determines where the repair will take place
• On the road
• In the shop
o In case repair requires taking car to the shop this will automatically trigger process that handles
complete scenario of either fixing the car or replacing it with another
o When a car replacement is required, process will delegate that to another service
 With that in mind there are three services involved
o Decision service to determine the repair location
o Process service to take care of car repair or replacement
o Dealer service to replace the car
Trisotech.com
Service interaction
Determine
repair location
Decision service
Handle car
breakdown
Process service
Dealer car
replacement
3rd party service
Apache Kafka
Incident-reports
Car-replacements
Trisotech.com
Demo
Trisotech.com
React to change instantly
 Staying up to date with constantly changing world is a must
 Being able to react to the changes rather than not being aware of them is a matter of staying alive
 Events and event streams allow systems and the organization to keep up with the changes
 Use of Apache Kafka, a well established and mature platform, makes things way more approachable
 Combining that with automation platforms like Digital Enterprise Suite enables event driven services that are
resilient and up to date
Trisotech.com
Questions

More Related Content

Similar to Apache Kafka event streams with processes and decisions

SOA Pattern Event Driven Messaging
SOA Pattern Event Driven MessagingSOA Pattern Event Driven Messaging
SOA Pattern Event Driven MessagingWSO2
 
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Azure tales: a real world CQRS and ES Deep Dive - Andrea SaltarelloAzure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Azure tales: a real world CQRS and ES Deep Dive - Andrea SaltarelloITCamp
 
ThingMonk 2016 - Concursus Event sourcing for the IOT By Tareq Abedrabbo & Do...
ThingMonk 2016 - Concursus Event sourcing for the IOT By Tareq Abedrabbo & Do...ThingMonk 2016 - Concursus Event sourcing for the IOT By Tareq Abedrabbo & Do...
ThingMonk 2016 - Concursus Event sourcing for the IOT By Tareq Abedrabbo & Do...OpenCredo
 
MongoDB @ Pango
MongoDB @ PangoMongoDB @ Pango
MongoDB @ PangoMongoDB
 
Streamsheets and Apache Kafka – Interactively build real-time Dashboards and ...
Streamsheets and Apache Kafka – Interactively build real-time Dashboards and ...Streamsheets and Apache Kafka – Interactively build real-time Dashboards and ...
Streamsheets and Apache Kafka – Interactively build real-time Dashboards and ...confluent
 
INTERNET OF THINGS & AZURE
INTERNET OF THINGS & AZUREINTERNET OF THINGS & AZURE
INTERNET OF THINGS & AZUREDotNetCampus
 
Confluent Partner Tech Talk with BearingPoint
Confluent Partner Tech Talk with BearingPointConfluent Partner Tech Talk with BearingPoint
Confluent Partner Tech Talk with BearingPointconfluent
 
WSO2 Product Release Webinar - WSO2 Complex Event Processor
WSO2 Product Release Webinar - WSO2 Complex Event ProcessorWSO2 Product Release Webinar - WSO2 Complex Event Processor
WSO2 Product Release Webinar - WSO2 Complex Event ProcessorWSO2
 
AZUG.BE - Azure User Group Belgium - First public meeting
AZUG.BE - Azure User Group Belgium - First public meetingAZUG.BE - Azure User Group Belgium - First public meeting
AZUG.BE - Azure User Group Belgium - First public meetingMaarten Balliauw
 
RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016Tom Boucher
 
Building Event Driven Systems
Building Event Driven SystemsBuilding Event Driven Systems
Building Event Driven SystemsWSO2
 
KFServing Payload Logging for Trusted AI
KFServing Payload Logging for Trusted AIKFServing Payload Logging for Trusted AI
KFServing Payload Logging for Trusted AIAnimesh Singh
 
Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)
Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)
Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)Codit
 
The Significant role of event driven apps in software development
The Significant role of event driven apps in software development					The Significant role of event driven apps in software development
The Significant role of event driven apps in software development Shelly Megan
 
FIWARE CEP GE introduction, ICT 2015
FIWARE CEP GE introduction, ICT 2015FIWARE CEP GE introduction, ICT 2015
FIWARE CEP GE introduction, ICT 2015ishkin
 
Aaai 2011 event processing tutorial
Aaai 2011 event processing tutorialAaai 2011 event processing tutorial
Aaai 2011 event processing tutorialOpher Etzion
 
Deployment, Performance, Agility and Flexibility using Trisotech Digital Dist...
Deployment, Performance, Agility and Flexibility using Trisotech Digital Dist...Deployment, Performance, Agility and Flexibility using Trisotech Digital Dist...
Deployment, Performance, Agility and Flexibility using Trisotech Digital Dist...Denis Gagné
 
Kafka Summit 2022: Handling Eventual Consistency in a Transactional World.pdf
Kafka Summit 2022: Handling Eventual Consistency in a Transactional World.pdfKafka Summit 2022: Handling Eventual Consistency in a Transactional World.pdf
Kafka Summit 2022: Handling Eventual Consistency in a Transactional World.pdfAndrea Gioia
 
Handling eventual consistency in a transactional world with Matteo Cimini and...
Handling eventual consistency in a transactional world with Matteo Cimini and...Handling eventual consistency in a transactional world with Matteo Cimini and...
Handling eventual consistency in a transactional world with Matteo Cimini and...HostedbyConfluent
 
AWS re:Invent 2016: Building a Solid Business Case for Cloud Migration (ENT308)
AWS re:Invent 2016: Building a Solid Business Case for Cloud Migration (ENT308)AWS re:Invent 2016: Building a Solid Business Case for Cloud Migration (ENT308)
AWS re:Invent 2016: Building a Solid Business Case for Cloud Migration (ENT308)Amazon Web Services
 

Similar to Apache Kafka event streams with processes and decisions (20)

SOA Pattern Event Driven Messaging
SOA Pattern Event Driven MessagingSOA Pattern Event Driven Messaging
SOA Pattern Event Driven Messaging
 
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Azure tales: a real world CQRS and ES Deep Dive - Andrea SaltarelloAzure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
 
ThingMonk 2016 - Concursus Event sourcing for the IOT By Tareq Abedrabbo & Do...
ThingMonk 2016 - Concursus Event sourcing for the IOT By Tareq Abedrabbo & Do...ThingMonk 2016 - Concursus Event sourcing for the IOT By Tareq Abedrabbo & Do...
ThingMonk 2016 - Concursus Event sourcing for the IOT By Tareq Abedrabbo & Do...
 
MongoDB @ Pango
MongoDB @ PangoMongoDB @ Pango
MongoDB @ Pango
 
Streamsheets and Apache Kafka – Interactively build real-time Dashboards and ...
Streamsheets and Apache Kafka – Interactively build real-time Dashboards and ...Streamsheets and Apache Kafka – Interactively build real-time Dashboards and ...
Streamsheets and Apache Kafka – Interactively build real-time Dashboards and ...
 
INTERNET OF THINGS & AZURE
INTERNET OF THINGS & AZUREINTERNET OF THINGS & AZURE
INTERNET OF THINGS & AZURE
 
Confluent Partner Tech Talk with BearingPoint
Confluent Partner Tech Talk with BearingPointConfluent Partner Tech Talk with BearingPoint
Confluent Partner Tech Talk with BearingPoint
 
WSO2 Product Release Webinar - WSO2 Complex Event Processor
WSO2 Product Release Webinar - WSO2 Complex Event ProcessorWSO2 Product Release Webinar - WSO2 Complex Event Processor
WSO2 Product Release Webinar - WSO2 Complex Event Processor
 
AZUG.BE - Azure User Group Belgium - First public meeting
AZUG.BE - Azure User Group Belgium - First public meetingAZUG.BE - Azure User Group Belgium - First public meeting
AZUG.BE - Azure User Group Belgium - First public meeting
 
RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016RTP Bluemix Meetup April 20th 2016
RTP Bluemix Meetup April 20th 2016
 
Building Event Driven Systems
Building Event Driven SystemsBuilding Event Driven Systems
Building Event Driven Systems
 
KFServing Payload Logging for Trusted AI
KFServing Payload Logging for Trusted AIKFServing Payload Logging for Trusted AI
KFServing Payload Logging for Trusted AI
 
Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)
Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)
Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)
 
The Significant role of event driven apps in software development
The Significant role of event driven apps in software development					The Significant role of event driven apps in software development
The Significant role of event driven apps in software development
 
FIWARE CEP GE introduction, ICT 2015
FIWARE CEP GE introduction, ICT 2015FIWARE CEP GE introduction, ICT 2015
FIWARE CEP GE introduction, ICT 2015
 
Aaai 2011 event processing tutorial
Aaai 2011 event processing tutorialAaai 2011 event processing tutorial
Aaai 2011 event processing tutorial
 
Deployment, Performance, Agility and Flexibility using Trisotech Digital Dist...
Deployment, Performance, Agility and Flexibility using Trisotech Digital Dist...Deployment, Performance, Agility and Flexibility using Trisotech Digital Dist...
Deployment, Performance, Agility and Flexibility using Trisotech Digital Dist...
 
Kafka Summit 2022: Handling Eventual Consistency in a Transactional World.pdf
Kafka Summit 2022: Handling Eventual Consistency in a Transactional World.pdfKafka Summit 2022: Handling Eventual Consistency in a Transactional World.pdf
Kafka Summit 2022: Handling Eventual Consistency in a Transactional World.pdf
 
Handling eventual consistency in a transactional world with Matteo Cimini and...
Handling eventual consistency in a transactional world with Matteo Cimini and...Handling eventual consistency in a transactional world with Matteo Cimini and...
Handling eventual consistency in a transactional world with Matteo Cimini and...
 
AWS re:Invent 2016: Building a Solid Business Case for Cloud Migration (ENT308)
AWS re:Invent 2016: Building a Solid Business Case for Cloud Migration (ENT308)AWS re:Invent 2016: Building a Solid Business Case for Cloud Migration (ENT308)
AWS re:Invent 2016: Building a Solid Business Case for Cloud Migration (ENT308)
 

More from Denis Gagné

Generative AI and Regulatory Compliance
Generative AI and Regulatory ComplianceGenerative AI and Regulatory Compliance
Generative AI and Regulatory ComplianceDenis Gagné
 
Automating and Orchestrating Processes and Decisions Across the Enterprise
Automating and Orchestrating Processes and Decisions Across the EnterpriseAutomating and Orchestrating Processes and Decisions Across the Enterprise
Automating and Orchestrating Processes and Decisions Across the EnterpriseDenis Gagné
 
Low Code Neuro-Symbolic Agents.pdf
Low Code Neuro-Symbolic Agents.pdfLow Code Neuro-Symbolic Agents.pdf
Low Code Neuro-Symbolic Agents.pdfDenis Gagné
 
Data Validation in a Low-Code Environment
Data Validation in a Low-Code EnvironmentData Validation in a Low-Code Environment
Data Validation in a Low-Code EnvironmentDenis Gagné
 
From Laws and Regulations to Decision Automation
From Laws and Regulations to Decision AutomationFrom Laws and Regulations to Decision Automation
From Laws and Regulations to Decision AutomationDenis Gagné
 
Smart Drug Package Inserts using Clinical Workflows and Decisions
Smart Drug Package Inserts using Clinical Workflows and DecisionsSmart Drug Package Inserts using Clinical Workflows and Decisions
Smart Drug Package Inserts using Clinical Workflows and DecisionsDenis Gagné
 
Pharma, FHIR, Workflows and Decisions
Pharma, FHIR, Workflows and DecisionsPharma, FHIR, Workflows and Decisions
Pharma, FHIR, Workflows and DecisionsDenis Gagné
 
5 Mins Intro to CMMN
5 Mins Intro to CMMN5 Mins Intro to CMMN
5 Mins Intro to CMMNDenis Gagné
 
Modelling the Preoperative Surgical Journey
Modelling the Preoperative Surgical JourneyModelling the Preoperative Surgical Journey
Modelling the Preoperative Surgical JourneyDenis Gagné
 
BPM+ Health Virtual Coffee: 5 Mins Intro to DMN
BPM+ Health Virtual Coffee: 5 Mins Intro to DMNBPM+ Health Virtual Coffee: 5 Mins Intro to DMN
BPM+ Health Virtual Coffee: 5 Mins Intro to DMNDenis Gagné
 
Intelligent Assistance for Knowledge Workers.pptx
Intelligent Assistance for Knowledge Workers.pptxIntelligent Assistance for Knowledge Workers.pptx
Intelligent Assistance for Knowledge Workers.pptxDenis Gagné
 
How do you FEEL about Low Code .pptx
How do you FEEL about Low Code .pptxHow do you FEEL about Low Code .pptx
How do you FEEL about Low Code .pptxDenis Gagné
 
Enabling and Debugging Business Automation.pptx
Enabling and Debugging Business Automation.pptxEnabling and Debugging Business Automation.pptx
Enabling and Debugging Business Automation.pptxDenis Gagné
 
BPM+ Virtual Coffee: 5 Mins Intro to BPMN
BPM+ Virtual Coffee: 5 Mins Intro to BPMNBPM+ Virtual Coffee: 5 Mins Intro to BPMN
BPM+ Virtual Coffee: 5 Mins Intro to BPMNDenis Gagné
 
Integrating Clinical Workflows and Decisions with FHIR, CDS Hooks and SMART
Integrating Clinical Workflows and Decisions with FHIR, CDS Hooks and SMARTIntegrating Clinical Workflows and Decisions with FHIR, CDS Hooks and SMART
Integrating Clinical Workflows and Decisions with FHIR, CDS Hooks and SMARTDenis Gagné
 
Where to start from with BPM+ Health
Where to start from with BPM+ HealthWhere to start from with BPM+ Health
Where to start from with BPM+ HealthDenis Gagné
 
Where to start from with BPM+ Health.pptx
Where to start from with BPM+ Health.pptxWhere to start from with BPM+ Health.pptx
Where to start from with BPM+ Health.pptxDenis Gagné
 
Event-Driven Architecture Webinar.pptx
Event-Driven Architecture Webinar.pptxEvent-Driven Architecture Webinar.pptx
Event-Driven Architecture Webinar.pptxDenis Gagné
 
BPM+ Virtual Coffee: Overview of BPMN, CMMN and DMN.pptx
BPM+ Virtual Coffee: Overview of BPMN, CMMN and DMN.pptxBPM+ Virtual Coffee: Overview of BPMN, CMMN and DMN.pptx
BPM+ Virtual Coffee: Overview of BPMN, CMMN and DMN.pptxDenis Gagné
 
Standards-Based Low-Code Business Automation.pptx
Standards-Based Low-Code Business Automation.pptxStandards-Based Low-Code Business Automation.pptx
Standards-Based Low-Code Business Automation.pptxDenis Gagné
 

More from Denis Gagné (20)

Generative AI and Regulatory Compliance
Generative AI and Regulatory ComplianceGenerative AI and Regulatory Compliance
Generative AI and Regulatory Compliance
 
Automating and Orchestrating Processes and Decisions Across the Enterprise
Automating and Orchestrating Processes and Decisions Across the EnterpriseAutomating and Orchestrating Processes and Decisions Across the Enterprise
Automating and Orchestrating Processes and Decisions Across the Enterprise
 
Low Code Neuro-Symbolic Agents.pdf
Low Code Neuro-Symbolic Agents.pdfLow Code Neuro-Symbolic Agents.pdf
Low Code Neuro-Symbolic Agents.pdf
 
Data Validation in a Low-Code Environment
Data Validation in a Low-Code EnvironmentData Validation in a Low-Code Environment
Data Validation in a Low-Code Environment
 
From Laws and Regulations to Decision Automation
From Laws and Regulations to Decision AutomationFrom Laws and Regulations to Decision Automation
From Laws and Regulations to Decision Automation
 
Smart Drug Package Inserts using Clinical Workflows and Decisions
Smart Drug Package Inserts using Clinical Workflows and DecisionsSmart Drug Package Inserts using Clinical Workflows and Decisions
Smart Drug Package Inserts using Clinical Workflows and Decisions
 
Pharma, FHIR, Workflows and Decisions
Pharma, FHIR, Workflows and DecisionsPharma, FHIR, Workflows and Decisions
Pharma, FHIR, Workflows and Decisions
 
5 Mins Intro to CMMN
5 Mins Intro to CMMN5 Mins Intro to CMMN
5 Mins Intro to CMMN
 
Modelling the Preoperative Surgical Journey
Modelling the Preoperative Surgical JourneyModelling the Preoperative Surgical Journey
Modelling the Preoperative Surgical Journey
 
BPM+ Health Virtual Coffee: 5 Mins Intro to DMN
BPM+ Health Virtual Coffee: 5 Mins Intro to DMNBPM+ Health Virtual Coffee: 5 Mins Intro to DMN
BPM+ Health Virtual Coffee: 5 Mins Intro to DMN
 
Intelligent Assistance for Knowledge Workers.pptx
Intelligent Assistance for Knowledge Workers.pptxIntelligent Assistance for Knowledge Workers.pptx
Intelligent Assistance for Knowledge Workers.pptx
 
How do you FEEL about Low Code .pptx
How do you FEEL about Low Code .pptxHow do you FEEL about Low Code .pptx
How do you FEEL about Low Code .pptx
 
Enabling and Debugging Business Automation.pptx
Enabling and Debugging Business Automation.pptxEnabling and Debugging Business Automation.pptx
Enabling and Debugging Business Automation.pptx
 
BPM+ Virtual Coffee: 5 Mins Intro to BPMN
BPM+ Virtual Coffee: 5 Mins Intro to BPMNBPM+ Virtual Coffee: 5 Mins Intro to BPMN
BPM+ Virtual Coffee: 5 Mins Intro to BPMN
 
Integrating Clinical Workflows and Decisions with FHIR, CDS Hooks and SMART
Integrating Clinical Workflows and Decisions with FHIR, CDS Hooks and SMARTIntegrating Clinical Workflows and Decisions with FHIR, CDS Hooks and SMART
Integrating Clinical Workflows and Decisions with FHIR, CDS Hooks and SMART
 
Where to start from with BPM+ Health
Where to start from with BPM+ HealthWhere to start from with BPM+ Health
Where to start from with BPM+ Health
 
Where to start from with BPM+ Health.pptx
Where to start from with BPM+ Health.pptxWhere to start from with BPM+ Health.pptx
Where to start from with BPM+ Health.pptx
 
Event-Driven Architecture Webinar.pptx
Event-Driven Architecture Webinar.pptxEvent-Driven Architecture Webinar.pptx
Event-Driven Architecture Webinar.pptx
 
BPM+ Virtual Coffee: Overview of BPMN, CMMN and DMN.pptx
BPM+ Virtual Coffee: Overview of BPMN, CMMN and DMN.pptxBPM+ Virtual Coffee: Overview of BPMN, CMMN and DMN.pptx
BPM+ Virtual Coffee: Overview of BPMN, CMMN and DMN.pptx
 
Standards-Based Low-Code Business Automation.pptx
Standards-Based Low-Code Business Automation.pptxStandards-Based Low-Code Business Automation.pptx
Standards-Based Low-Code Business Automation.pptx
 

Recently uploaded

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 

Recently uploaded (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 

Apache Kafka event streams with processes and decisions

  • 1. Trisotech.com Apache Kafka event streams with Processes and Decisions Maciej Swiderski, Automation Lead at Trisotech Simon Ringuette, R&D Lead at Trisotech
  • 2. Trisotech.com Stay up to date “The Only Constant in Life Is Change” Heraclitus  More and more information is being produced every day, every hour, every minute , every second  Organizations must be ready for a change at any point in time  Staying up to date is one of the most important aspect of digital transformation  At the same time, staying up to date is also the biggest challenge
  • 3. Trisotech.com Events and Event streams  Events are the data snippets that represent something that happened o Order was placed o File was deleted o User registered  Event streams are flows of events sharing a particular type  Apache Kafka is one of the distributed streaming platform that took an established position in handling events and event streams  Trisotech Digital Enterprise Suite integrates with Apache Kafka as o Consumer of event streams o Producer of events
  • 4. Trisotech.com DES as Apache Kafka consumer  Digital Enterprise Suite can act as a consumer of event streams via trigger mechanisms that are available for workflow processes  Events can be used to o Start new instance of the process for each incoming event o Trigger already active process instances o Cancel already active process instances  Events can be correlated to effectively associate incoming events with active process instances o Correlation based on event body (Kafka record value) o Correlation based on event key (Kafka record key) o Correlation based on event headers (Kafka record headers)
  • 5. Trisotech.com DES as Apache Kafka Producer  Digital Enterprise Suite can also be used as event producer on Kafka topics  Operation that publishe events on defined topics o Publishing operations are available in both decisions (as BKM) and processes (as service task) o Publishing operations are explicitly defined within the model o Structure of the published events are defined by the modeler  Event emitters publish asynchronous events from within Digital Enterprise Suite o Event emitters are declared based on asynchronous events produced by DES itself • Service invocation events are of most interest but there are others as well o Structure of the events are always based on the Cloud Event specification with Kafka binding • Binary • Structured
  • 6. Trisotech.com Configuration  Configuration of Apache Kafka integration depends on requirements (such as consumer vs producer, operation or event emitter) but the common parts that are required are o First and foremost is the Apache Kafka Cluster itself o Credentials to access the Apache Kafka Cluster o Topic(s) • It is recommended to create topics upfront and not rely on auto creation of topics o Partitions and number of instances of Digital Enterprise Suite integrated with it • Keep number of partitions on par with DES instances for the best performance
  • 8. Trisotech.com EU Rent Handling of car incidents  The example is based on EU Rent - a fictional car rental company  Use case covered is to handle car incidents with o Decision service that determines where the repair will take place • On the road • In the shop o In case repair requires taking car to the shop this will automatically trigger process that handles complete scenario of either fixing the car or replacing it with another o When a car replacement is required, process will delegate that to another service  With that in mind there are three services involved o Decision service to determine the repair location o Process service to take care of car repair or replacement o Dealer service to replace the car
  • 9. Trisotech.com Service interaction Determine repair location Decision service Handle car breakdown Process service Dealer car replacement 3rd party service Apache Kafka Incident-reports Car-replacements
  • 11. Trisotech.com React to change instantly  Staying up to date with constantly changing world is a must  Being able to react to the changes rather than not being aware of them is a matter of staying alive  Events and event streams allow systems and the organization to keep up with the changes  Use of Apache Kafka, a well established and mature platform, makes things way more approachable  Combining that with automation platforms like Digital Enterprise Suite enables event driven services that are resilient and up to date