Skip to main content

AI glossary Models & Architecture

What is event-driven architecture (EDA)?

← All glossary terms
In short

A software design in which systems communicate by publishing and reacting to events, such as "order placed", instead of calling each other directly.

Explained

In an event-driven architecture, a component that detects a change (an order placed, a payment failed, a sensor reading) publishes an event, and other components that care about it react on their own. Events travel through a broker or streaming platform, so the producer does not need to know who consumes them. This decouples systems, lets several consumers act on the same event and supports near-real-time processing at scale. For AI, it is how models and agents get triggered by what happens in the business, rather than waiting for a nightly batch or a user request.

How it works

  • Producers: systems that detect a change and publish an event describing it.
  • Channel: a broker or event stream (for example a message queue or a log such as Kafka) that stores and delivers events.
  • Consumers: services that subscribe to the events they need and act on them, each at its own pace.
  • Contracts: an agreed event format, so that producers and consumers can evolve independently.

Not one pattern but several

Martin Fowler points out that "event-driven" covers different ideas. Event notification tells others that something happened. Event-carried state transfer includes enough data in the event that consumers do not need to call back. Event sourcing stores every change as an event and rebuilds state from that log. CQRS separates the models used to write and to read data.

Naming which pattern a team means avoids most design arguments, because each one has different costs.

When it makes sense, and when not

  • It fits when several systems must react to the same events, when processing must be near real time, or when volumes are high, as with IoT data.
  • It fits agentic AI, where agents are triggered by business events and publish their own results as events.
  • It is less suited to simple request-and-response flows or where strong, immediate consistency is required.
  • It needs good observability: tracing an event across many decoupled consumers is harder than following a direct call.

Frequently asked questions

What is an example of event-driven architecture?

In an online shop, the order service publishes an "order placed" event. The payment, stock, shipping and email services each receive it and do their part, without the order service calling any of them. Adding a new consumer, such as a fraud model, does not require changing the order service.

What is the difference between event-driven and request-driven architecture?

In a request-driven design, a service calls another and waits for the answer. In an event-driven design, a service announces that something happened and continues; whoever is interested reacts. The first is simpler to follow, the second is more decoupled and scales better.

Is Kafka an event-driven architecture?

No. Apache Kafka is a distributed event streaming platform, one of the most common tools used to build an event-driven architecture. The architecture is the design approach; Kafka, cloud event services and message brokers are ways to implement it.

What are the disadvantages of event-driven architecture?

It is harder to trace and debug, because a single business flow spreads across many services. Data is often eventually consistent rather than immediately consistent. Handling duplicate or out-of-order events and evolving event formats also need care.

How does event-driven architecture help AI?

It lets models and agents act as soon as something happens: scoring a transaction for fraud when it occurs, or starting an agent when a ticket arrives. It also keeps AI systems fed with fresh data and lets their outputs reach other systems as events.

Where it shows up at Thinkia

Further reading

Sources

Updated: 2026-10-21

Want to see how this applies to your organisation?

Talk to an AI Expert