Context
Sainsbury’s is one of the pioneers of British grocery retail, founded in 1869, and the UK’s second-largest grocer, with more than 1,400 stores. The business’s success depends on the flexibility of its supply chain and logistics: product availability on the shelf is what defines margin, customer experience and retention.
To support customer-facing initiatives, improve operational analytics and overhaul the supply chain’s digital systems, the company needed a modern data infrastructure that would transform its legacy architecture without interrupting the daily operation of hundreds of stores.
The problem
Legacy databases were slowing innovation. Sainsbury’s needed to handle huge event volumes and a platform that allowed real-time data access and connections between several databases and logistics systems. Every new integration on top of the legacy was slow, expensive and risky.
Demand forecasting, essential for replenishment and for cutting waste in fresh food, depended on data that arrived late and incomplete. Without real-time data, any machine-learning model was operating on yesterday’s reality.
The solution
Sainsbury’s chose Confluent as the streaming backbone of its digital transformation program, in a fully managed, cloud-native setup on AWS. The platform freed data from legacy systems and enabled a gradual transition to the cloud with no impact on daily operations.
On top of those streams, the company acquired a SaaS forecasting solution with machine learning, trained on three years of history, about 600 billion rows of records, which now move alongside the new real-time streams. According to the program lead, Confluent gave the support needed to implement this and the tools to turn data into actionable insights for supply chain and commercial operations.
Results
Cost savings observed across the whole supply chain. Engineering development efficiency more than doubled thanks to real-time data streams. 20+ sprint hours saved with Confluent’s managed support. Better forecasting and supply-chain management, with simple connections to AWS services.
For Sainsbury’s senior engineering manager, “in retail, everything is becoming data-driven. It’s no longer just a facet of IT, it’s quickly become essential to the entire business. Kafka has become a company-wide nervous system for us, and Confluent has really taken it to the next level.”
What this means for your team
Legacy modernization does not require a big bang. Sainsbury’s path is what we call waves: capture legacy data through CDC and connectors, let new systems coexist with the old ones, invert the dependency when the new becomes the source of truth and only then switch off what remains. That is how we structure our migration projects.
The 600-billion-row figure matters for another reason: the same stream that feeds operations feeds the forecasting model. There is no separate pipeline for real time and another for AI. That is what we argue for when we talk about Real-Time AI.