What Is Event-Driven Architecture?
Also known as: EDA, event driven integration, publish subscribe, event streaming
Definition
Event-driven architecture is a design where systems publish events, such as a goods receipt posted, and other systems subscribe and react to them. It replaces constant polling and tight point-to-point calls with loosely coupled, asynchronous messages.
Event-Driven Architecture Explained
An event is a fact that something happened: an order was released, a quality hold was set, a machine stopped. A producer publishes the event to a broker, and any number of consumers subscribe. The producer does not know who listens, which keeps systems loosely coupled. Brokers include message queues such as RabbitMQ, log-based streaming platforms such as Kafka, and cloud services such as Azure Service Bus or AWS SNS and SQS.
Compared with polling, events cut latency and load. Instead of a nightly job asking the ERP what changed, the ERP or a change data capture tool emits an event when a row changes. A consumer then updates a dashboard, sends an alert or starts a workflow within seconds. The cost is operational: you must design for duplicate delivery, out-of-order events, retries and dead-letter queues.
ERPs vary in how they emit events. Infor SyteLine has an event system and sends BODs through ION. NetSuite offers user event scripts and SuiteScript hooks. SAP provides business events and IDocs. Where the ERP cannot emit events, database change capture or a polling adapter can synthesize them.
This model suits AI agents well. An agent that wakes on a 'purchase order past due' event can look up the supplier, draft an expedite note and ask a buyer to approve it, instead of someone watching a report. The agent should remain read-only or approval-gated for anything that writes back to the ERP.
Why It Matters
- Events give near real-time reactions without hammering the ERP with polling queries.
- Loose coupling lets teams add a new consumer, such as an AI agent, without changing the ERP.
- Delivery guarantees, ordering and idempotency must be designed, or duplicates will corrupt downstream data.
- It is a practical trigger layer for proactive alerts and agent workflows on top of an ERP.
In Practice
A plant wants a supervisor alerted when a work order is held for quality. The ERP's hold action emits an event to a broker. One consumer posts to the supervisor's chat channel, another updates the schedule board. During testing the same event arrives twice after a retry, so the consumers store the event ID and ignore repeats, which keeps the alert from firing twice.
Frequently Asked Questions
What is the difference between a webhook and an event broker?
A webhook is a single HTTP callback to one URL. A broker receives events and delivers them to many subscribers with queuing and retry.
Do I need Kafka for event-driven integration?
Not necessarily. A simple message queue is enough for many plants. Kafka suits high volume and replay needs.
What if my ERP cannot publish events?
Use database change capture or a scheduled adapter that detects changes and publishes events on the ERP's behalf.
How do AI agents fit with events?
Events can wake an agent to investigate and propose an action, with a human approving anything that changes ERP data.
Related Terms
Webhook
A webhook is an HTTP callback in which a source system automatically sends an HTTP request to a subscriber-provided URL when a defined event occurs, pushing notification to the consumer instead of requiring the consumer to poll for changes.
Middleware
Middleware is software that sits between applications and handles the communication, transformation, routing, and reliability concerns of moving data between them, so that the applications themselves do not need to know about each other directly.
SyteLine Event System
The SyteLine Event System is the framework's rule engine that detects defined business events - a record saved, a status changed, a threshold crossed - and runs configured handlers that send notifications, request approvals, execute SQL, or call custom logic.
AI Agent
An AI agent is a system that wraps a language model with tools, memory, and a goal so it can plan a sequence of steps, call external systems, observe the results, and iterate until the objective is met or a limit is reached.
API Gateway
An API gateway is a server that sits in front of one or more back-end services and acts as their single entry point. It authenticates callers, enforces rate limits, routes requests, and logs traffic so each back end does not have to.
Working with Event-Driven Architecture in a live environment? Our engineers do this every day - and our AI agents automate most of it.
Try it here, free
SyteLine Mongoose Framework Events Reference
Every framework event an application event handler can subscribe to in SyteLine 9/10 and CSI on-prem, with when it fires, what it passes and the traps to avoid.
Keep exploring
Free tools
- SyteLine Mongoose Framework Events ReferenceEvery framework event an application event handler can subscribe to in SyteLine 9/10 and CSI on-prem, with when it fires, what it passes and the traps to avoid.
- API Polling vs Webhook Call Budget CalculatorQuantifies how many API calls a polling loop burns versus event delivery, and the latency you trade for it.
- SyteLine Event Action Parameter Functions ReferenceThe expression functions you use in SyteLine event action parameters, with exact syntax, return type and the events where each one works.
ERP fixes and how-tos
- Event-Driven ERP Integration: Architecture That Holds UpHow to publish ERP changes as events: native event sources, CDC and the outbox pattern, with idempotency, ordering and failure handling for CTOs.
- Business Central Integration Events: How to Publish and Subscribe in ALHow integration events work in Business Central AL: declare a publisher, write an EventSubscriber, use IsHandled safely, bind manually, avoid traps.
- Epicor Dashboard Refresh All, Timers, Publish and Subscribe, Parameters and Runtime vs AssemblyHow Epicor dashboards refresh (refresh all and timers), pass values between panels with publish and subscribe, use parameters, and differ between runtime and assembly types.
Guides
- How to Configure Event Handlers in SyteLineStep-by-step guide to configuring event handlers in Infor SyteLine for automated responses to data changes, user actions, and system events across your ERP environment.
- Infor ION Integration Patterns for M3: BODs, ION Connect, and Event-Driven ArchitectureHow Infor ION moves M3 sales and purchase orders between systems: BODs, ION Connect, API Gateway and event workflows. ION is middleware, not an order system.
- Setting Up Webhooks and Event Notifications in SyteLineConfigure SyteLine webhooks and event notifications using ION Connect and BOD triggers. Build event-driven integrations for CloudSuite Industrial workflows.