Back to Catalog
Integration
Message Construction
Event Message
Something happened β broadcast it. Subscribers react however they want.
Intent & Description
Real-world Use Case
User completes checkout β OrderPlaced event published to Kafka topic. Inventory Service decrements stock. Shipping Service creates a shipment. Email Service sends confirmation. All from the same single event, zero coupling to the publisher.
Source
π TL;DR
Event Message = shout “this happened” into the void. Subscribers catch it and react. Zero publisher-consumer coupling. The backbone of event-driven systems.
Advantages
- Zero coupling β publisher never knows its consumers
- New consumers can be added with zero changes to the publisher
- Natural backbone for event-driven architecture
- Perfect audit trail β events are facts, immutable by nature
Disadvantages
- No guaranteed delivery without durable subscriptions and persistent brokers
- Eventual consistency β consumers lag behind the event
- Event schema changes need backward compatibility management
- Hard to trace end-to-end flow without distributed tracing (Zipkin, Jaeger)