Consumer purchasing habits have drastically changed in recent years. Going to a physical store is no longer the only option for retail shopping. Retailers have evolved to meet this new demand by implementing multiple sales channels, both online and offline.
The constant growth of the online channel in recent years has added a series of new challenges both at the business and IT levels. Having a real-time updated snapshot of the status of the stock for each item is a key element to address these challenges.
A common application such as stock calculation is standard in a traditional batch scenario, but it presents several challenges if implemented in a real-time context, amidst a stream of continuously evolving events.
Several contributions contribute to generating stock variations, and different views of the same output are required, more or less specific depending on the needs of the different systems involved.
A polyglot architecture requires systems that speak different languages to communicate, integrate heterogeneous data, and… be event-driven!