2 - Why Event-Driven Architectures?
- What is event-driven architecture
- How systems communicate in event-driven architecture
- The role of an event broker in event-driven architecture
Prerequisites
- You have completed the previous tutorial for the event-based processes CodeJam, Events and SAP Build Artifacts in the SAP Business Accelerator Hub.
An event-driven architecture is a software architecture paradigm concerning the production and consumption of events. An event can be defined as a significant change in the state of an object within a system.
Long gone are the days when a system (aka, target system) will constantly poll to check if there are any changes in another system: for example, a new customer created in a master data system. In the past, the target system would only know about the change by programming a routine that would poll a file share to check for any files produced by this system or a web service exposed in the source system, every X minutes/hours/days.
The expectation nowadays is that systems are integrated and that the data exchanged between these systems will be immediately available in the target system(s) if any data is created/changed in the source system. Enter event-driven architectures.
An event-driven architecture is a software architecture paradigm concerning the production and consumption of events. An event can be defined as a significant change in the state of an object within a system. For example, when a customer/supplier/employee ( business object ) is created/updated/deleted ( action) in a system.
Translating this to the SAP world, when a Business Partner is created/changed in SAP S/4HANA ( source system ), SAP S/4HANA can notify that there was a change in a business object and target system(s) interested in the Business Partner object can then react and trigger follow-up activities in their systems.
