Building EDA with Kafka Streams: Oliveyoung's Out-of-Stock System Modernization Project
Key point
Oliveyoung adopted a Kafka Streams-based EDA architecture to reduce DB dependency and reflect inventory in real time.
Details
Oliveyoung's existing out-of-stock lookup method directly called Oracle DB functions, which caused DB load and service delays during high-traffic situations.
To solve this, they introduced Event-Driven Architecture (EDA) to remove DB dependency and lower coupling between services. They used OGG (Oracle GoldenGate) to capture change data, and built a real-time data pipeline using AWS MSK and Kafka Streams.
The key features of the new architecture are as follows.
- Real-time capability: When an inventory change event occurs, the event is published immediately and reflected in OpenSearch, improving data consistency issues.
- Scalability and flexibility: When a new service is needed, it can be easily extended simply by subscribing to events.
- Use of Kafka Streams: Guarantees Exactly-once processing, and efficiently implements complex logic through the Streams DSL and Processor API.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.