Skip to main content

Events Synchronization


Event-Driven Architectures (EDA) play a crucial role in modern distributed systems by facilitating asynchronous communication between services through events. SAP offers a robust suite of services to support various EDA use cases, ensuring seamless integration and event processing. Key offerings include SAP Integration Suite's Event Mesh capability, SAP Integration Suite's Advanced Event Mesh (AEM) and SAP Event Broker for SAP cloud applications, which provide real-time, decoupled messaging capabilities. SAP Integration Suite, Cloud Integration service further extend this by facilitating smooth event-based integrations across different platforms, both SAP and non-SAP.

The SAP Integration Suite's Cloud Integration service further enhances these capabilities by enabling smooth event-based integrations across diverse platforms, whether SAP or non-SAP. Furthermore, SAP's programming models, the SAP Cloud Application Programming Model (CAP) and ABAP Restful Programming Model (RAP) come with built-in functionalities for efficient consumption and production of events. These integrated solutions empower enterprises to implement responsive and scalable event-driven architectures effortlessly, making it easier to adapt to dynamic business requirements.

For more insights on EDA:

image of solution diagram
Copy to clipboard

Solution Diagram Resources
You can download the Solution Diagram as a .drawio file for offline use. Alternatively, you may view and edit the Solution Diagram directly on draw.io.
Please note that any changes made online will need to be saved locally if you wish to keep them.

While services such as SAP Event Mesh and SAP Event Broker, including JMS queues from SAP Cloud Integration flows, may not offer multi-region resiliency, SAP Integration Suite's Advanced Event Mesh (AEM) excels in this area. AEM provides robust multi-region capabilities, enabling the construction of resilient and geo-distributed event meshes. By utilizing Dynamic Message Routing (DMR), messages can be seamlessly replicated across different regions, ensuring continuous availability and maintaining business continuity even during infrastructure outages. This feature is pivotal for enterprises aiming to achieve high availability and fault tolerance in their event-driven architectures.

What is Dynamic Message Routing (DMR)?

Dynamic Message Routing (DMR) is the mechanism that powers SAP Advanced Event Mesh by connecting multiple event brokers into a network that dynamically routes event messages in real time. It also boosts the resilience and availability of your messaging infrastructure. If one broker or node goes down, DMR automatically reroutes messages through other brokers in the mesh, minimizing the impact of failures and ensuring business continuity. With DMR, brokers form an event mesh that connects systems within the same site (horizontal scaling) or across different sites (multi-site scaling).

Here’s how it works:

  • Automatic Routing: Once the event brokers are connected, DMR automatically determines the best path for routing messages across the mesh. No need for manual configuration or constant maintenance—DMR handles the complexities behind the scenes.
  • Scalability Across Sites: Instead of relying on a single, over-provisioned broker, you can link multiple brokers together in a mesh. Each broker participates in forwarding events, allowing the system to handle larger traffic volumes while maintaining high performance.
  • Real-Time Event Distribution: With DMR, messages are routed in real time across regions, ensuring low-latency communication for critical applications, whether they’re in the cloud, on-premises, or at the edge.

DMR plays a critical role in ensuring resilience and disaster recovery by enabling the creation of a geo-distributed event mesh. This event mesh connects multiple event brokers (or nodes) across regions, clouds, or data centers, ensuring that events can continue flowing seamlessly, even during infrastructure outages or regional failures.

Multi-Region Replication

DMR replication setup has to be configured to enable the replication of messages from one cluster to another. A single instance of Advanced Event Mesh within a subaccount is sufficient to manage clusters across multiple regions, easily configured through the Advanced Event Mesh Admin UI. One cluster operates in active mode while others remain in standby, adapting based on the active region. When downtime is detected, the topology must be updated accordingly. This process can be streamlined using a custom application that functions as a control plane.