ERPClimb logoERPClimb
Event Mesh
BTP & Integrationadvanced 5 min read

BTP Event Mesh Part 4: Event-Driven Architecture Design on BTP

Preview · a free account unlocks the full lesson

Key takeaway

Design event-driven landscapes: topic hierarchy and naming, notification vs data-carrying events, one queue per consumer, fan-out and decoupling, event versioning, combining events with APIs (event + lookup), and when Advanced Event Mesh fits better.

In this lessonShow sections

Visual overview

ARCHITECTUREDesigning an event-driven flowTopics, event types and queues1Define topic hierarchynamespace/object/action/versionTopics?Sensitive or large data?Who may see whatNo → data-carrying eventYes → notification + API lookup2One queue per consumerIndependent delivery and scalingQueues3Version eventsv1 → v2 without breakingVersioningEvent catalogOwners, schemas, consumersGovernanceTip: consumers sharing one queue each receive only part of the events.

Explanation

Part 3 covered reliable consumption; this lesson covers designing an event-driven architecture on BTP more broadly. A clear topic hierarchy — namespace, object, action, version — lets subscriptions use wildcards effectively rather than needing to enumerate every topic individually.

Notification events carry just the keys needed to identify something, leaving consumers to call an API for full details, which suits sensitive or large data well. Data-carrying events, by contrast, include the needed fields directly in the event, which suits decoupled, high-volume consumers that don't want the overhead of a follow-up API call.

Giving each consumer its own queue means one consumer's failure doesn't affect any of the others, since they're not sharing delivery. The risk to watch for is changing event payloads without versioning them, since that breaks consumers you may not even know are listening.

Maintaining an event catalog — type, owner, schema, consumers — mirrors what a good API catalog does, and is just as valuable for events. A common misunderstanding is consumers sharing a single queue, since that means they compete for the same messages and each only receives part of the event stream rather than everything relevant to it.

In practice, this means defining a topic naming convention, deciding between notification and data events for each use case, and creating one queue per consumer — the goal being that every consumer independently receives every event relevant to it.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Code example
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.