Modern event brokers support direct and guaranteed messaging.

There are two primary messaging approaches: Direct Messaging and Guaranteed Message Delivery.
Direct Messaging is designed for applications that handle a high rate of messages and require low latency, while being able to tolerate occasional message loss. In this model, clients subscribe directly to topics. If a connection is lost, messages are not stored, meaning they can be discarded. Additionally, there is no delivery confirmation mechanism.
Guaranteed Message Delivery, on the other hand, is intended for applications that require permanent message storage and reliable delivery. In this approach, topic subscriptions are bound to specific endpoints. Once a message is confirmed, it cannot be lost. Messages are retained until they are consumed, and delivery is explicitly confirmed.
Persistence and Durability

Persistence refers to messages and durability refers to endpoints.
- Persistence:
- Messages are persistent if they are stored in non-volatile memory.
- Storage takes place with "Persistent Delivery Mode = Persistent" or by subscribing to a persistent endpoint.
- Persistent messages are acknowledged.
- Durability:
- Persistent endpoints function independently of consumers.
- Queue messages are retained even in the event of broker failure.
- Temporary queues are not persistent and messages are deleted after the consumer logs out.
Read More
- Event Driven Architecture Pattern: Overview of different event-driven architecture (EDA) patterns, their use cases, and best practices for implementing event-driven systems.
- Direct Messages: Explanation of direct messaging in SAP Advanced Event Mesh, including how messages are sent, routed, and received without persistence.
- Guaranteed Messages: Detailed documentation on guaranteed messaging, ensuring message persistence, reliability, and delivery confirmation in SAP Advanced Event Mesh.