_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN
Let's talk

Apache Kafka — Event-Driven Architecture in Practice

20. 06. 2018 1 min read CORE SYSTEMSai

Our system grew organically. Service A calls service B synchronously, B calls C, C calls D. When D goes down, the entire chain fails. With Apache Kafka, we moved to event-driven architecture.

The Problem: Synchronous Chains

In synchronous architecture, latency is additive and availability is multiplicative. With each added service, the system gets worse. Retry and circuit breaker help, but synchronous coupling is fragile.

Kafka as Event Bus

  • Persistence — events on disk, configurable retention
  • Ordering — guaranteed within partition
  • Replayability — consumer can read from any offset
  • Throughput — millions of messages per second

Event Sourcing Pattern

Instead of storing the current state of an order, we store every change as an event: OrderCreated, PaymentReceived, ItemShipped. The current state is a projection of these events. Complete audit trail, replay, temporal queries.

Kafka Connect

JDBC source connector reads changes from database, Elasticsearch sink connector indexes events. Configuration in JSON, no custom code.

Event-Driven Architecture is an Investment That Pays Off

The transition to Kafka wasn’t simple — we had to change our way of thinking. But the resilience, scalability and flexibility are worth the investment.

kafkaevent-drivenstreamingarchitecture
Share:

CORE SYSTEMS

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.

Need help with implementation?

Our experts can help with design, implementation, and operations. From architecture to production.

Contact us