Clickstream and Inventory Event Mesh for Omnichannel Personalisation
Challenge
High volume spikes during seasonal sales, and regional data-residency requirements. We used tiered storage, autoscaling consumers and region-pinned clusters with replicated, anonymised aggregates only.
Approach
We introduced a lightweight event SDK for web and mobile, server-side event collection, and Kafka topics partitioned by customer and SKU. Flink SQL jobs compute session features, rolling product affinity and store-level stock velocity. Results feed a Redis feature cache for on-site recommendations and a ClickHouse cluster for sub-second dashboards. Consent flags travel with every event, and a privacy filter drops or hashes identifiers based on the consent state.
Outcome
Recommendations reflect in-session behaviour rather than yesterday's Earlier low-stock signals during promotions, reducing missed sales Illustratively ~20–35% lower cost per million events versus the previous vendor tag pipeline One consent-aware event model shared by marketing, product and supply chain Stable performance through peak sale events