SlideShare a Scribd company logo
The Rise of Data in Motion
in the Food and Retail Industry
Use Cases, Architectures and Real-World Examples powered by Apache Kafka
Kai Waehner
Field CTO
kai.waehner@confluent.io
linkedin.com/in/kaiwaehner
confluent.io
kai-waehner.de
@KaiWaehner
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
The Food Industry
2
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
The world is changing.
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Stores become Software
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Payments become Software
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
@KaiWaehner - www.kai-waehner.de
Logistics becomes Software
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Partnering becomes Software
2
m
in
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
The New Business Reality
Technology is the business
Innovation required for survival
Yesterday’s data = failure
Modern, real-time data
infrastructure is required.
Technology was
a support function
Innovation required for
growth
“Good enough” to run on
yesterday’s data
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
The Food Industry
9
The Real-Time Food
and Retail Supply Chain
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
This transformation is
happening everywhere
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Food and Retail
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Resorts World Las Vegas + Grubhub
15
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
What enables this
transformation?
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Real-time Data beats Slow Data.
Logistics
Real-time sensor
diagnostics
Delivery planning
ETA updates
Payment
Fraud detection
Risk systems
Mobile applications /
customer experience
Retail
Real-time inventory
Real-time POS
reporting
Personalization
Sales
Real-time
recommendations
Personalized
coupon feed
Pay by walking out
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Chick-fil-A Restaurant IoT
• One of the largest American fast food
restaurant chains
• Chick-Fil-A IoT platform RIoT (Restaurant
IoT)
• Kubernetes cluster in each of their 2000+
restaurants for real-time analytics at the
edge without an internet connection
• Thousands of units of industrial kitchen
equipment, food safety sensors and
point-of-sale devices are sending millions
of streaming messages per second
18
https://www.linkedin.com/pulse/why-did-chicken-need-iot-imran-bashir/
https://www.infoq.com/presentations/chick-fil-a-k8-clusters/
https://medium.com/@cfatechblog/edge-computing-at-chick-fil-a-7d67242675e2
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
This is a fundamental paradigm shift...
19
Infrastructure
as code
Data as continuous
streams of events
Future of the
datacenter
Future of data
Cloud
Event
Streaming
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
What is Event Streaming?
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
‘Event’ is what happens in your business
Transportation
TPMS sensor in Carol’s car detected low tire-pressure at 5:11am.
Kafka
Payment
Alice sent $250 to Bob on Friday at 7:34pm.
Kafka
Retail
Sabine’s order of a Fujifilm camera was shipped at 9:10am.
Kafka
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Data in Motion in the Food and Retail Industry
Your Business as Streams of Events, powered by Kafka
Inventory
Shipping
Reporting
Orders
Frontend
Retail Example
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
24
Increase Revenue
→ Customer Experience, Loyalty
Decrease Costs
→ Increase Operational Efficiency
Mitigate Risks
→ Regulatory Compliance
Reporting & Analytics
Stock inventory management
Legacy IT Replacement
(e.g. Middleware replacement)
Cyber Security
(incl. SIEM)
Fraud Prevention
(Anomalous credit card transactions)
Legacy IT Modernization
(e.g. Mainframe off-load / augmentation)
Example Retail Solutions for Event Streaming
Buyer journey - personalized offers
(Contextualized Next Best Action /
Targeted Offers)
Real-time Inventory Management
(across web, store, …)
Customer 360
(Call Center - Know Your Customer - KYC)
RT mobile applications
(clothing, food and beverage ordering, …)
Migration to the Cloud
(Hybrid on-prem / Cloud. Also Hybrid
Public Cloud vendors)
Microservices Architecture
Data Infrastructure layer
Business Application layer - the use cases
Data Pipelines Messaging
Microservice/
Event Sourcing Stream Processing Data Integration Streaming ETL Log Aggregation
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Event Streaming
in the Food Industry?
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Food Value Chain
IoT-Based and Data-Driven
Single source of truth
across the food value chain
(in the factories, and across regions)
Business critical operations
(tracking, calculations, alerts, …)
https://www.confluent.io/blog/creating-iot-based-data-driven-food-value-chain-with-confluent-cloud/
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Migros
Switzerland's largest retail company, largest supermarket
chain and largest employer
Real-time transportation information visualization with MQTT
and Kafka
Supply chain optimization with a single streaming pipeline
(including replay whole day of events)
Forecast the truck arrival time; plan and reschedule truck tours
27
https://www.meetup.com/Messaging-Streaming-Switzerland/events/278115421
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
“Walmart is a $500 billion in revenue
company, so every second is worth
millions of dollars. Having Confluent
as our partner has been invaluable.
Kafka and Confluent are the
backbone of our digital
omnichannel transformation
and success at Walmart.”
VP of Walmart Cloud
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Real-Time Inventory System
https://www.confluent.io/blog/walmart-real-time-inventory-management-using-kafka/
https://www.confluent.io/kafka-summit-san-francisco-2019/when-kafka-meets-the-scaling-and-reliability-needs-of-worlds-largest-retailer-a-walmart-story/
● Investment in Kafka and Confluent has helped topline
company growth
● 8,500 nodes processing 11 billion events per day
● Deliver an omnichannel experience so every
customer can shop the way they want to
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Real-time Replenishment System
https://www.confluent.io/events/kafka-summit-americas-2021/speed-without-accidents-kafka-exemplified/
● Caters millions of its online and walk in customers
● Ensures optimal availability of needed assortment
and timely delivery on online fulfillment
● 4+ billion messages in 3 hours generate an order
plan for the entire network of Walmart stores with
great accuracy
● ~470M ordering decisions made daily
● Kafka as data hub and for real-time processing
● Spark for micro-batches
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Simplifying Omnichannel Retail at Scale
31
https://kafka-summit.org/sessions/simplifying-omni-channel-retail-scale/
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Domino’s Pizza
• Multinational pizza restaurant chain with ~17,000 stores
• Transformation from a traditional pizza company to an e-commerce driven organization
• Data-first approach and relentless customer focus
• Real-time operation views to franchise owners (order volume by channel, store efficiency metrics, …) across different
ordering channels
Benefits
Improve store operational real-time analytics
Support global expansion goals via legacy IT modernization
Implement more personalized marketing campaigns
Real-time single pane of glass
https://www.confluent.io/customers/dominos/
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
FREE NOW
Stateful stream processing with Confluent Cloud, Kafka Connect, Kafka Streams, Schema Registry
Cloud-native application elasticity and scalability leveraging Kafka and Kubernetes capabilities
Use cases: Dynamic pricing, fraud detection, real-time analytics for marketing campaigns, etc.
Various information about the trip, location and business performance
35
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Fraud Detection @ Grab
GrabDefence SaaS service build with Confluent Cloud, Kafka Streams and ML for stateful stream processing
Billions of fraud and safety detections performed daily for millions of transactions (1.6% is lost in fraud in Southeast Asia)
Data science and engineering platform to search for anomalous and suspicious transactions and identifying
high-risk individuals
Example: An individual who pretends to be both the driver and passenger, and makes cashless payments to
get promotions
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
instacart
Grocery delivery and pick-up service in the United States
and Canada.
Order groceries from participating retailers with the
shopping being done by a personal shopper
Elastic scale and fast, agile internal adoption of real-time
data processing with Confluent Cloud
https://www.confluent.io/events/kafka-summit-americas-2021/driving-innovation-with-data-in-motion-at-instacart/
Covid Pandemic:
“Handle 10 years' worth
of growth in six week”
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Context-specific Customer 360
39
Electrical retailer
Hyper-personalized online
retail experience, turning
each customer visit into a
one-on-one marketing
opportunity
Correlation of historical
customer data with real-
time digital signals
Maximize customer
satisfaction and revenue
growth, increased
customer conversions
https://www.confluent.io/customers/ao/
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Live commerce with real-time data correlation
including integration of CRM, loyalty, inventory, chatbots, location-based services, etc.
40
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Live Commerce with Data in Motion
Your Business as Streams of Events, powered by Kafka
Influencer Show
on Veggie Food
Payment
Shipping
Sales
Platform
Social
Platform
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Live Commerce with Data in Motion
Interact with the customer during the show.
Recommend products that need to be sold.
Provide context-specific pricing.
All automated. In real-time. At scale.
Data Consolidation
Streaming ETL
(Kafka Connect + Kafka Streams)
Mobile App
(Swift on iOS)
(4) Receive
product recommendation
and context-specific price
Order Fulfillment &
Payment Service
Buy Now Pay Later (BNPL)
(C++)
Chatbot
External API
(REST API)
(1) Click on
food
(5) Order
product
(2) Q&A with chatbot
(5) Fulfill order
CRM / Loyalty
Salesforce
(Kafka Connect)
Source: channelize.io
Inventory
Live monitoring
(ksqlDB)
(3) Context-specific
pricing engine
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
@KaiWaehner - www.kai-waehner.de
Cross-Company Stream Data Exchange
Streaming Replication and API Management
Cluster Linking
Food
Supplier
Delivery
Service
Streaming integration
between companies
API Management
(REST et al) is not appropriate
for
streaming data
Restaurant
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
What is
Apache Kafka?
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Kafka: The Trinity of Event Streaming
01
Publish & Subscribe
to Streams of Events
02
Store
your Event Streams
03
Process & Analyze
your Events Streams
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Apache Kafka is a Platform for Data in Motion
MES
ERP
Sensors
Mobile
Customer 360
Real-time
Alerting System
Data
warehouse
Producers
Consumers
Streams and storage of real time events
Stream
processing
apps
Connectors
Connectors
Stream
processing
apps
Supplier
Alert
Forecast
Inventory Customer
Order
46
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Kafka Makes Your Business Real-time.
CREATE STREAM payments (user VARCHAR, amount INT)
WITH (kafka_topic = 'all_payments', value_format = 'avro');
CREDIT
SERVICE
ksqlDB
CREATE TABLE credit_scores AS
SELECT user, updateScore(p.amount) AS credit_score
FROM payments AS p
GROUP BY user
EMIT CHANGES;
RISK
SERVICE
ksqlDB
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Risk Management
with Stream Processing
51
British multinational groceries and general merchandise retailer
One of Europe's largest retailers
Risk-management platform built to detect and prevent attacks
https://www.confluent.io/resources/kafka-summit-2020
/risk-management-in-retail-with-stream-processing/
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Central Nervous System
Your Business as Streams of Events, powered by Kafka
Inventory
Event streams are stored for
reuse and with high
availability.
Shipping
Events are processed in real-
time as soon as they happen.
Frontend
Reporting
Add new use cases easily by
tapping into existing streams.
Orders
Event-driven apps and services
communicate through streams.
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Event Topics Storage Partitions
Events / sec Kafka Servers
10,000,000 25,000 1,000,000 1,500
Event Topics Storage Partitions
Events / sec Kafka Servers
250,000 500 25,000 25
Event Topics Storage Partitions
Events / sec Kafka Servers
100 5 300 3
Kafka Scales with Your Business.
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Databases
Messaging
ETL / Data Integration
Data Warehouse
Why can’t I do this with my
existing data platforms?
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Enterprise Data Platform Requirements Are Shifting
1 3 4
2
Scalable for
Transactional Data
Transient Raw data
Built for
Historical Data
Built for Real-
Time Events
Scalable for
ALL data
Persistent +
Durable
Enriched
data
● Value: Trigger real-
time workflows (i.e.
real-time order
management)
● Value: Scale across
the enterprise (i.e.
customer 360)
● Value: Build
mission-critical
apps with zero data
loss (i.e. instant
payments)
● Value: Add context &
situational awareness
(i.e. ride sharing ETA)
59
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Only Event Streaming Has All 4 Requirements
Messaging
Databases
Event Streaming
Data Warehouse
BUILT FOR REAL-
TIME EVENTS
SCALABLE
FOR ALL DATA
PERSISTENT &
DURABLE
CAPABLE OF
ENRICHMENT
60
Good for transactional applications
Good for ultra low-latency, fire-and-forget use cases
Good for batch data integration
Good for historical analytics and reporting
Platform for Event-Driven Transformation
(Scalable Messaging + Real-Time Data Integration + Stream Processing)
ETL/Data Integration
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Kafka
Connect
Kafka Cluster
Data Warehouse
Integration
Domain-Driven Design and Decoupled Microservices
POS Interface Mobile Backend
Kafka Broker
in the Store
Kafka-native Client
(Java, Python C++, KSQL, etc.)
Data
Governance
Event Streaming Platform
Analytics Domain Store Domain Customer Domain
Security
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Event Streaming in the Cloud
62
Focus on
Business Outcomes
• Real-time
• Serverless
• Elastic
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Architectures for
Apache Kafka in Retail?
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Real-time Inventory System
C2
Time
P
C3
C1
C2
C3
Asset / People Tracking
Real-Time Alerting
Geofencing for
Distance Enforcement
Continuous
Real-Time Aggregation
Plan Future Location
Requirements
Batch Analytics
on Historical Events
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Global Event Streaming
Streaming Replication between Kafka Clusters
Bridge to Databases, Data Lakes, Apps, APIs, SaaS
Aggregate Small Footprint
Edge Deployments with
Replication (Aggregation)
Simplify Disaster Recovery
Operations with
Multi-Region Clusters
for RPO=0 and RTO~0
Stream Data Globally with
Replication and Cluster Linking
68
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
‘My Porsche’
A digital service platform for customers, fans, and enthusiasts
70
https://medium.com/porschedev
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Omnichannel Retail
Time
P
C3 C2
C1
Sales Talk on site in
Car Dealership
Right now
Location-based
Customer Action
Customer 360
(Website, Mobile App, On Site in Store, In-Car)
Car Configurator
10 and 8 days ago
Context-specific
Marketing Campaign
90 and 60 days ago
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Omnichannel Retail
Time
P
C3 C2
C1
Machine Learning
Context-specific
Recommendations
Location-based
Customer Action
Customer 360
(Business Intelligence, Machine Learning)
Machine Learning
Train Recommendation Engine
Reporting
All Customer Interactions
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
CRM
3rd party
payment
provider
Context-specific
real-time upsell
Customer data
Payment processing and
fraud detection as a service
Manager
Get report
API
Customer Customer
Customer
data
Train
schedule
Payment
data
Loyalty
information
Streams of real time events
Customer
data
Train
schedule
Payment
data
Loyalty
information
Streams of real time events
Customer
data
Train
schedule
Payment
data
Loyalty
information
Streams of real time events
Hybrid Retail Architecture
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Point of Sale
(POS) Loyalty
System
Local Inventory
Management
Payment Discount
Customer
data
Train
schedule
Payment
data
Loyalty
information
Streams of real time events
Global Inventory
Management
Event Streaming at the Edge
in the Smart Retail Store
Item Availability
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Disconnected Edge
Time
P
C3 C2
C1
Context-specific
Advertisement
Real-time
(Milliseconds)
Location-based
Customer Action
Always on (even “offline”)
Replayability
Reduced traffic cost
Better latency
Payment Processing
Near Real-time
(Seconds)
Replication to Cloud
Batch
(Depending on Network Bandwidth)
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Ship-Shore Highway – Swimming Retail Stores
https://www.confluent.io/kafka-summit-lon19/seamless-guest-experience-with-kafka-streams/
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Event Streaming Is The Future Of Data
82
Infrastructure
as code
Data as continuous
streams of events
Future of the
datacenter
Future of data
Cloud
Event
Streaming
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Why Confluent?
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
The Rise of Data in Motion
2010
Apache Kafka
created at LinkedIn by
Confluent founders
2014
2020
80%
Fortune 100
Companies
trust and use
Apache Kafka
84
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
I N V E S T M E N T & T I M E
V
A
L
U
E
3
4
5
1
2
Event Streaming Maturity Model
Initial Awareness /
Pilot (1 Kafka
Cluster)
Start to Build
Pipeline / Deliver 1
New Outcome
(1 Kafka Cluster)
Mission-Critical
Deployment
(Stretched, Hybrid,
Multi-Region)
Build Contextual
Event-Driven Apps
(Stretched, Hybrid,
Multi-Region)
Central Nervous
System
(Global Kafka)
Product, Support, Training, Partners, Technical Account Management...
85
Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de
Car Engine Car Self-driving Car
Confluent completes Apache Kafka. Cloud-native. Everywhere.
Kai Waehner
Field CTO
kai.waehner@confluent.io
confluent.io
kai-waehner.de
@KaiWaehner
linkedin.com/in/kaiwaehner
Questions? Feedback?
Let’s connect!

More Related Content

PDF
Modernizing to a Cloud Data Architecture
Databricks
 
PPTX
Microsoft Fabric.pptx
Shruti Chaurasia
 
PPTX
[DSC Europe 22] Lakehouse architecture with Delta Lake and Databricks - Draga...
DataScienceConferenc1
 
PPTX
Data Lakehouse, Data Mesh, and Data Fabric (r1)
James Serra
 
PPTX
Microsoft Fabric Introduction
James Serra
 
PDF
Apache Kafka in the Transportation and Logistics
Kai Wähner
 
PPTX
Gcp dataflow
Igor Roiter
 
PDF
Lakehouse in Azure
Sergio Zenatti Filho
 
Modernizing to a Cloud Data Architecture
Databricks
 
Microsoft Fabric.pptx
Shruti Chaurasia
 
[DSC Europe 22] Lakehouse architecture with Delta Lake and Databricks - Draga...
DataScienceConferenc1
 
Data Lakehouse, Data Mesh, and Data Fabric (r1)
James Serra
 
Microsoft Fabric Introduction
James Serra
 
Apache Kafka in the Transportation and Logistics
Kai Wähner
 
Gcp dataflow
Igor Roiter
 
Lakehouse in Azure
Sergio Zenatti Filho
 

What's hot (20)

PDF
Data Warehouse vs. Data Lake vs. Data Streaming – Friends, Enemies, Frenemies?
Kai Wähner
 
PPTX
Data platform modernization with Databricks.pptx
CalvinSim10
 
PPTX
Introduction to Azure Databricks
James Serra
 
PDF
Build Real-Time Applications with Databricks Streaming
Databricks
 
PPTX
Azure DataBricks for Data Engineering by Eugene Polonichko
Dimko Zhluktenko
 
PDF
Data Platform Architecture Principles and Evaluation Criteria
ScyllaDB
 
PPTX
Data Lakehouse, Data Mesh, and Data Fabric (r2)
James Serra
 
PPTX
Azure Data Engineering.pptx
priyadharshini626440
 
PDF
Choosing the Right Graph Database to Succeed in Your Project
Ontotext
 
PPTX
Microsoft Azure Cost Optimization and improve efficiency
Kushan Lahiru Perera
 
PPTX
Big Data - Applications and Technologies Overview
Sivashankar Ganapathy
 
PPTX
Data Warehousing Trends, Best Practices, and Future Outlook
James Serra
 
PDF
Technical Deep Dive: Using Apache Kafka to Optimize Real-Time Analytics in Fi...
confluent
 
PPTX
Big data architectures and the data lake
James Serra
 
PDF
Kappa vs Lambda Architectures and Technology Comparison
Kai Wähner
 
PDF
Designing ETL Pipelines with Structured Streaming and Delta Lake—How to Archi...
Databricks
 
PPTX
Monitoring and Resiliency Testing our Apache Kafka Clusters at Goldman Sachs ...
HostedbyConfluent
 
PDF
Data Management vs Data Strategy
DATAVERSITY
 
PPTX
Databricks Fundamentals
Dalibor Wijas
 
PDF
Data platform architecture
Sudheer Kondla
 
Data Warehouse vs. Data Lake vs. Data Streaming – Friends, Enemies, Frenemies?
Kai Wähner
 
Data platform modernization with Databricks.pptx
CalvinSim10
 
Introduction to Azure Databricks
James Serra
 
Build Real-Time Applications with Databricks Streaming
Databricks
 
Azure DataBricks for Data Engineering by Eugene Polonichko
Dimko Zhluktenko
 
Data Platform Architecture Principles and Evaluation Criteria
ScyllaDB
 
Data Lakehouse, Data Mesh, and Data Fabric (r2)
James Serra
 
Azure Data Engineering.pptx
priyadharshini626440
 
Choosing the Right Graph Database to Succeed in Your Project
Ontotext
 
Microsoft Azure Cost Optimization and improve efficiency
Kushan Lahiru Perera
 
Big Data - Applications and Technologies Overview
Sivashankar Ganapathy
 
Data Warehousing Trends, Best Practices, and Future Outlook
James Serra
 
Technical Deep Dive: Using Apache Kafka to Optimize Real-Time Analytics in Fi...
confluent
 
Big data architectures and the data lake
James Serra
 
Kappa vs Lambda Architectures and Technology Comparison
Kai Wähner
 
Designing ETL Pipelines with Structured Streaming and Delta Lake—How to Archi...
Databricks
 
Monitoring and Resiliency Testing our Apache Kafka Clusters at Goldman Sachs ...
HostedbyConfluent
 
Data Management vs Data Strategy
DATAVERSITY
 
Databricks Fundamentals
Dalibor Wijas
 
Data platform architecture
Sudheer Kondla
 
Ad

Similar to Apache Kafka for Real-time Supply Chain in the Food and Retail Industry (20)

PDF
Event Streaming in Retail with Apache Kafka
Kai Wähner
 
PDF
Apache Kafka in Financial Services - Use Cases and Architectures
Kai Wähner
 
PDF
Webinar-Reihe: Realtime Retail Snack DCCS & Confluent 27. September 2022
confluent
 
PDF
Apache Kafka in the Insurance Industry
Kai Wähner
 
PDF
Kafka for Live Commerce to Transform the Retail and Shopping Metaverse
Kai Wähner
 
PPTX
Supply Chain Optimization with Apache Kafka
Kai Wähner
 
PDF
Mainframe Integration, Offloading and Replacement with Apache Kafka
Kai Wähner
 
PDF
Apache Kafka in the Airline, Aviation and Travel Industry
Kai Wähner
 
PDF
Apache Kafka for Smart Grid, Utilities and Energy Production
Kai Wähner
 
PDF
Mit Streaming die Brücken zum Erfolg bauen
confluent
 
PDF
Apache Kafka in the Automotive Industry (Connected Vehicles, Manufacturing 4....
Kai Wähner
 
PDF
Apache Kafka for Automotive Industry, Mobility Services & Smart City
Kai Wähner
 
PDF
Apache Kafka® and Analytics in a Connected IoT World
confluent
 
PDF
Kafka and Machine Learning in Banking and Insurance Industry
Kai Wähner
 
PDF
Connected Vehicles and V2X with Apache Kafka
Kai Wähner
 
PDF
Kai Waehner [Confluent] | Real-Time Streaming Analytics with 100,000 Cars Usi...
InfluxData
 
PDF
2019 04 seattle_meetup___kafka_machine_learning___kai_waehner
Nitin Kumar
 
PDF
Top use cases for 2022 with Data in Motion and Apache Kafka
confluent
 
PPTX
The Top 5 Apache Kafka Use Cases and Architectures in 2022
Kai Wähner
 
PDF
Apache Kafka as Event-Driven Open Source Streaming Platform (Prague Meetup)
Kai Wähner
 
Event Streaming in Retail with Apache Kafka
Kai Wähner
 
Apache Kafka in Financial Services - Use Cases and Architectures
Kai Wähner
 
Webinar-Reihe: Realtime Retail Snack DCCS & Confluent 27. September 2022
confluent
 
Apache Kafka in the Insurance Industry
Kai Wähner
 
Kafka for Live Commerce to Transform the Retail and Shopping Metaverse
Kai Wähner
 
Supply Chain Optimization with Apache Kafka
Kai Wähner
 
Mainframe Integration, Offloading and Replacement with Apache Kafka
Kai Wähner
 
Apache Kafka in the Airline, Aviation and Travel Industry
Kai Wähner
 
Apache Kafka for Smart Grid, Utilities and Energy Production
Kai Wähner
 
Mit Streaming die Brücken zum Erfolg bauen
confluent
 
Apache Kafka in the Automotive Industry (Connected Vehicles, Manufacturing 4....
Kai Wähner
 
Apache Kafka for Automotive Industry, Mobility Services & Smart City
Kai Wähner
 
Apache Kafka® and Analytics in a Connected IoT World
confluent
 
Kafka and Machine Learning in Banking and Insurance Industry
Kai Wähner
 
Connected Vehicles and V2X with Apache Kafka
Kai Wähner
 
Kai Waehner [Confluent] | Real-Time Streaming Analytics with 100,000 Cars Usi...
InfluxData
 
2019 04 seattle_meetup___kafka_machine_learning___kai_waehner
Nitin Kumar
 
Top use cases for 2022 with Data in Motion and Apache Kafka
confluent
 
The Top 5 Apache Kafka Use Cases and Architectures in 2022
Kai Wähner
 
Apache Kafka as Event-Driven Open Source Streaming Platform (Prague Meetup)
Kai Wähner
 
Ad

More from Kai Wähner (20)

PDF
Apache Kafka as Data Hub for Crypto, NFT, Metaverse (Beyond the Buzz!)
Kai Wähner
 
PDF
When NOT to use Apache Kafka?
Kai Wähner
 
PDF
The Heart of the Data Mesh Beats in Real-Time with Apache Kafka
Kai Wähner
 
PDF
Apache Kafka vs. Cloud-native iPaaS Integration Platform Middleware
Kai Wähner
 
PDF
Serverless Kafka and Spark in a Multi-Cloud Lakehouse Architecture
Kai Wähner
 
PDF
Resilient Real-time Data Streaming across the Edge and Hybrid Cloud with Apac...
Kai Wähner
 
PDF
Data Streaming with Apache Kafka in the Defence and Cybersecurity Industry
Kai Wähner
 
PDF
Apache Kafka in the Healthcare Industry
Kai Wähner
 
PDF
Apache Kafka in the Healthcare Industry
Kai Wähner
 
PDF
Kafka for Real-Time Replication between Edge and Hybrid Cloud
Kai Wähner
 
PDF
Apache Kafka for Predictive Maintenance in Industrial IoT / Industry 4.0
Kai Wähner
 
PDF
Apache Kafka Landscape for Automotive and Manufacturing
Kai Wähner
 
PDF
Event Streaming CTO Roundtable for Cloud-native Kafka Architectures
Kai Wähner
 
PDF
Apache Kafka in the Public Sector (Government, National Security, Citizen Ser...
Kai Wähner
 
PDF
Telco 4.0 - Payment and FinServ Integration for Data in Motion with 5G and Ap...
Kai Wähner
 
PDF
Apache Kafka for Cybersecurity and SIEM / SOAR Modernization
Kai Wähner
 
PDF
Serverless Kafka on AWS as Part of a Cloud-native Data Lake Architecture
Kai Wähner
 
PDF
IBM Cloud Pak for Integration with Confluent Platform powered by Apache Kafka
Kai Wähner
 
PDF
Apache Kafka and API Management / API Gateway – Friends, Enemies or Frenemies?
Kai Wähner
 
PDF
Apache Kafka and MQTT - Overview, Comparison, Use Cases, Architectures
Kai Wähner
 
Apache Kafka as Data Hub for Crypto, NFT, Metaverse (Beyond the Buzz!)
Kai Wähner
 
When NOT to use Apache Kafka?
Kai Wähner
 
The Heart of the Data Mesh Beats in Real-Time with Apache Kafka
Kai Wähner
 
Apache Kafka vs. Cloud-native iPaaS Integration Platform Middleware
Kai Wähner
 
Serverless Kafka and Spark in a Multi-Cloud Lakehouse Architecture
Kai Wähner
 
Resilient Real-time Data Streaming across the Edge and Hybrid Cloud with Apac...
Kai Wähner
 
Data Streaming with Apache Kafka in the Defence and Cybersecurity Industry
Kai Wähner
 
Apache Kafka in the Healthcare Industry
Kai Wähner
 
Apache Kafka in the Healthcare Industry
Kai Wähner
 
Kafka for Real-Time Replication between Edge and Hybrid Cloud
Kai Wähner
 
Apache Kafka for Predictive Maintenance in Industrial IoT / Industry 4.0
Kai Wähner
 
Apache Kafka Landscape for Automotive and Manufacturing
Kai Wähner
 
Event Streaming CTO Roundtable for Cloud-native Kafka Architectures
Kai Wähner
 
Apache Kafka in the Public Sector (Government, National Security, Citizen Ser...
Kai Wähner
 
Telco 4.0 - Payment and FinServ Integration for Data in Motion with 5G and Ap...
Kai Wähner
 
Apache Kafka for Cybersecurity and SIEM / SOAR Modernization
Kai Wähner
 
Serverless Kafka on AWS as Part of a Cloud-native Data Lake Architecture
Kai Wähner
 
IBM Cloud Pak for Integration with Confluent Platform powered by Apache Kafka
Kai Wähner
 
Apache Kafka and API Management / API Gateway – Friends, Enemies or Frenemies?
Kai Wähner
 
Apache Kafka and MQTT - Overview, Comparison, Use Cases, Architectures
Kai Wähner
 

Recently uploaded (20)

PPTX
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
PDF
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
PPTX
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
Exploring AI Agents in Process Industries
amoreira6
 
PPTX
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
PPTX
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
PPTX
Presentation about variables and constant.pptx
safalsingh810
 
PDF
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
PDF
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
PDF
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
PPTX
The-Dawn-of-AI-Reshaping-Our-World.pptxx
parthbhanushali307
 
PDF
Appium Automation Testing Tutorial PDF: Learn Mobile Testing in 7 Days
jamescantor38
 
PDF
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
PDF
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
PDF
Bandai Playdia The Book - David Glotz
BluePanther6
 
PDF
Adobe Illustrator Crack Full Download (Latest Version 2025) Pre-Activated
imang66g
 
PDF
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
PPTX
Explanation about Structures in C language.pptx
Veeral Rathod
 
PPT
Activate_Methodology_Summary presentatio
annapureddyn
 
PPTX
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Exploring AI Agents in Process Industries
amoreira6
 
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
Presentation about variables and constant.pptx
safalsingh810
 
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
The-Dawn-of-AI-Reshaping-Our-World.pptxx
parthbhanushali307
 
Appium Automation Testing Tutorial PDF: Learn Mobile Testing in 7 Days
jamescantor38
 
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
Bandai Playdia The Book - David Glotz
BluePanther6
 
Adobe Illustrator Crack Full Download (Latest Version 2025) Pre-Activated
imang66g
 
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
Explanation about Structures in C language.pptx
Veeral Rathod
 
Activate_Methodology_Summary presentatio
annapureddyn
 
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 

Apache Kafka for Real-time Supply Chain in the Food and Retail Industry

  • 1. The Rise of Data in Motion in the Food and Retail Industry Use Cases, Architectures and Real-World Examples powered by Apache Kafka Kai Waehner Field CTO [email protected] linkedin.com/in/kaiwaehner confluent.io kai-waehner.de @KaiWaehner
  • 2. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de The Food Industry 2
  • 3. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de The world is changing.
  • 4. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Stores become Software
  • 5. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Payments become Software
  • 6. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de @KaiWaehner - www.kai-waehner.de Logistics becomes Software
  • 7. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Partnering becomes Software 2 m in
  • 8. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de The New Business Reality Technology is the business Innovation required for survival Yesterday’s data = failure Modern, real-time data infrastructure is required. Technology was a support function Innovation required for growth “Good enough” to run on yesterday’s data
  • 9. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de The Food Industry 9 The Real-Time Food and Retail Supply Chain
  • 10. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de This transformation is happening everywhere
  • 11. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Food and Retail
  • 12. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Resorts World Las Vegas + Grubhub 15
  • 13. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de What enables this transformation?
  • 14. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Real-time Data beats Slow Data. Logistics Real-time sensor diagnostics Delivery planning ETA updates Payment Fraud detection Risk systems Mobile applications / customer experience Retail Real-time inventory Real-time POS reporting Personalization Sales Real-time recommendations Personalized coupon feed Pay by walking out
  • 15. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Chick-fil-A Restaurant IoT • One of the largest American fast food restaurant chains • Chick-Fil-A IoT platform RIoT (Restaurant IoT) • Kubernetes cluster in each of their 2000+ restaurants for real-time analytics at the edge without an internet connection • Thousands of units of industrial kitchen equipment, food safety sensors and point-of-sale devices are sending millions of streaming messages per second 18 https://www.linkedin.com/pulse/why-did-chicken-need-iot-imran-bashir/ https://www.infoq.com/presentations/chick-fil-a-k8-clusters/ https://medium.com/@cfatechblog/edge-computing-at-chick-fil-a-7d67242675e2
  • 16. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de This is a fundamental paradigm shift... 19 Infrastructure as code Data as continuous streams of events Future of the datacenter Future of data Cloud Event Streaming
  • 17. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de What is Event Streaming?
  • 18. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de ‘Event’ is what happens in your business Transportation TPMS sensor in Carol’s car detected low tire-pressure at 5:11am. Kafka Payment Alice sent $250 to Bob on Friday at 7:34pm. Kafka Retail Sabine’s order of a Fujifilm camera was shipped at 9:10am. Kafka
  • 19. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Data in Motion in the Food and Retail Industry Your Business as Streams of Events, powered by Kafka Inventory Shipping Reporting Orders Frontend Retail Example
  • 20. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de 24 Increase Revenue → Customer Experience, Loyalty Decrease Costs → Increase Operational Efficiency Mitigate Risks → Regulatory Compliance Reporting & Analytics Stock inventory management Legacy IT Replacement (e.g. Middleware replacement) Cyber Security (incl. SIEM) Fraud Prevention (Anomalous credit card transactions) Legacy IT Modernization (e.g. Mainframe off-load / augmentation) Example Retail Solutions for Event Streaming Buyer journey - personalized offers (Contextualized Next Best Action / Targeted Offers) Real-time Inventory Management (across web, store, …) Customer 360 (Call Center - Know Your Customer - KYC) RT mobile applications (clothing, food and beverage ordering, …) Migration to the Cloud (Hybrid on-prem / Cloud. Also Hybrid Public Cloud vendors) Microservices Architecture Data Infrastructure layer Business Application layer - the use cases Data Pipelines Messaging Microservice/ Event Sourcing Stream Processing Data Integration Streaming ETL Log Aggregation
  • 21. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Event Streaming in the Food Industry?
  • 22. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Food Value Chain IoT-Based and Data-Driven Single source of truth across the food value chain (in the factories, and across regions) Business critical operations (tracking, calculations, alerts, …) https://www.confluent.io/blog/creating-iot-based-data-driven-food-value-chain-with-confluent-cloud/
  • 23. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Migros Switzerland's largest retail company, largest supermarket chain and largest employer Real-time transportation information visualization with MQTT and Kafka Supply chain optimization with a single streaming pipeline (including replay whole day of events) Forecast the truck arrival time; plan and reschedule truck tours 27 https://www.meetup.com/Messaging-Streaming-Switzerland/events/278115421
  • 24. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de “Walmart is a $500 billion in revenue company, so every second is worth millions of dollars. Having Confluent as our partner has been invaluable. Kafka and Confluent are the backbone of our digital omnichannel transformation and success at Walmart.” VP of Walmart Cloud
  • 25. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Real-Time Inventory System https://www.confluent.io/blog/walmart-real-time-inventory-management-using-kafka/ https://www.confluent.io/kafka-summit-san-francisco-2019/when-kafka-meets-the-scaling-and-reliability-needs-of-worlds-largest-retailer-a-walmart-story/ ● Investment in Kafka and Confluent has helped topline company growth ● 8,500 nodes processing 11 billion events per day ● Deliver an omnichannel experience so every customer can shop the way they want to
  • 26. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Real-time Replenishment System https://www.confluent.io/events/kafka-summit-americas-2021/speed-without-accidents-kafka-exemplified/ ● Caters millions of its online and walk in customers ● Ensures optimal availability of needed assortment and timely delivery on online fulfillment ● 4+ billion messages in 3 hours generate an order plan for the entire network of Walmart stores with great accuracy ● ~470M ordering decisions made daily ● Kafka as data hub and for real-time processing ● Spark for micro-batches
  • 27. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Simplifying Omnichannel Retail at Scale 31 https://kafka-summit.org/sessions/simplifying-omni-channel-retail-scale/
  • 28. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Domino’s Pizza • Multinational pizza restaurant chain with ~17,000 stores • Transformation from a traditional pizza company to an e-commerce driven organization • Data-first approach and relentless customer focus • Real-time operation views to franchise owners (order volume by channel, store efficiency metrics, …) across different ordering channels Benefits Improve store operational real-time analytics Support global expansion goals via legacy IT modernization Implement more personalized marketing campaigns Real-time single pane of glass https://www.confluent.io/customers/dominos/
  • 29. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de FREE NOW Stateful stream processing with Confluent Cloud, Kafka Connect, Kafka Streams, Schema Registry Cloud-native application elasticity and scalability leveraging Kafka and Kubernetes capabilities Use cases: Dynamic pricing, fraud detection, real-time analytics for marketing campaigns, etc. Various information about the trip, location and business performance 35
  • 30. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Fraud Detection @ Grab GrabDefence SaaS service build with Confluent Cloud, Kafka Streams and ML for stateful stream processing Billions of fraud and safety detections performed daily for millions of transactions (1.6% is lost in fraud in Southeast Asia) Data science and engineering platform to search for anomalous and suspicious transactions and identifying high-risk individuals Example: An individual who pretends to be both the driver and passenger, and makes cashless payments to get promotions
  • 31. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de instacart Grocery delivery and pick-up service in the United States and Canada. Order groceries from participating retailers with the shopping being done by a personal shopper Elastic scale and fast, agile internal adoption of real-time data processing with Confluent Cloud https://www.confluent.io/events/kafka-summit-americas-2021/driving-innovation-with-data-in-motion-at-instacart/ Covid Pandemic: “Handle 10 years' worth of growth in six week”
  • 32. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Context-specific Customer 360 39 Electrical retailer Hyper-personalized online retail experience, turning each customer visit into a one-on-one marketing opportunity Correlation of historical customer data with real- time digital signals Maximize customer satisfaction and revenue growth, increased customer conversions https://www.confluent.io/customers/ao/
  • 33. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Live commerce with real-time data correlation including integration of CRM, loyalty, inventory, chatbots, location-based services, etc. 40
  • 34. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Live Commerce with Data in Motion Your Business as Streams of Events, powered by Kafka Influencer Show on Veggie Food Payment Shipping Sales Platform Social Platform
  • 35. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Live Commerce with Data in Motion Interact with the customer during the show. Recommend products that need to be sold. Provide context-specific pricing. All automated. In real-time. At scale. Data Consolidation Streaming ETL (Kafka Connect + Kafka Streams) Mobile App (Swift on iOS) (4) Receive product recommendation and context-specific price Order Fulfillment & Payment Service Buy Now Pay Later (BNPL) (C++) Chatbot External API (REST API) (1) Click on food (5) Order product (2) Q&A with chatbot (5) Fulfill order CRM / Loyalty Salesforce (Kafka Connect) Source: channelize.io Inventory Live monitoring (ksqlDB) (3) Context-specific pricing engine
  • 36. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de @KaiWaehner - www.kai-waehner.de Cross-Company Stream Data Exchange Streaming Replication and API Management Cluster Linking Food Supplier Delivery Service Streaming integration between companies API Management (REST et al) is not appropriate for streaming data Restaurant
  • 37. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de What is Apache Kafka?
  • 38. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Kafka: The Trinity of Event Streaming 01 Publish & Subscribe to Streams of Events 02 Store your Event Streams 03 Process & Analyze your Events Streams
  • 39. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Apache Kafka is a Platform for Data in Motion MES ERP Sensors Mobile Customer 360 Real-time Alerting System Data warehouse Producers Consumers Streams and storage of real time events Stream processing apps Connectors Connectors Stream processing apps Supplier Alert Forecast Inventory Customer Order 46
  • 40. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Kafka Makes Your Business Real-time. CREATE STREAM payments (user VARCHAR, amount INT) WITH (kafka_topic = 'all_payments', value_format = 'avro'); CREDIT SERVICE ksqlDB CREATE TABLE credit_scores AS SELECT user, updateScore(p.amount) AS credit_score FROM payments AS p GROUP BY user EMIT CHANGES; RISK SERVICE ksqlDB
  • 41. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Risk Management with Stream Processing 51 British multinational groceries and general merchandise retailer One of Europe's largest retailers Risk-management platform built to detect and prevent attacks https://www.confluent.io/resources/kafka-summit-2020 /risk-management-in-retail-with-stream-processing/
  • 42. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Central Nervous System Your Business as Streams of Events, powered by Kafka Inventory Event streams are stored for reuse and with high availability. Shipping Events are processed in real- time as soon as they happen. Frontend Reporting Add new use cases easily by tapping into existing streams. Orders Event-driven apps and services communicate through streams.
  • 43. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Event Topics Storage Partitions Events / sec Kafka Servers 10,000,000 25,000 1,000,000 1,500 Event Topics Storage Partitions Events / sec Kafka Servers 250,000 500 25,000 25 Event Topics Storage Partitions Events / sec Kafka Servers 100 5 300 3 Kafka Scales with Your Business.
  • 44. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Databases Messaging ETL / Data Integration Data Warehouse Why can’t I do this with my existing data platforms?
  • 45. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Enterprise Data Platform Requirements Are Shifting 1 3 4 2 Scalable for Transactional Data Transient Raw data Built for Historical Data Built for Real- Time Events Scalable for ALL data Persistent + Durable Enriched data ● Value: Trigger real- time workflows (i.e. real-time order management) ● Value: Scale across the enterprise (i.e. customer 360) ● Value: Build mission-critical apps with zero data loss (i.e. instant payments) ● Value: Add context & situational awareness (i.e. ride sharing ETA) 59
  • 46. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Only Event Streaming Has All 4 Requirements Messaging Databases Event Streaming Data Warehouse BUILT FOR REAL- TIME EVENTS SCALABLE FOR ALL DATA PERSISTENT & DURABLE CAPABLE OF ENRICHMENT 60 Good for transactional applications Good for ultra low-latency, fire-and-forget use cases Good for batch data integration Good for historical analytics and reporting Platform for Event-Driven Transformation (Scalable Messaging + Real-Time Data Integration + Stream Processing) ETL/Data Integration
  • 47. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Kafka Connect Kafka Cluster Data Warehouse Integration Domain-Driven Design and Decoupled Microservices POS Interface Mobile Backend Kafka Broker in the Store Kafka-native Client (Java, Python C++, KSQL, etc.) Data Governance Event Streaming Platform Analytics Domain Store Domain Customer Domain Security
  • 48. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Event Streaming in the Cloud 62 Focus on Business Outcomes • Real-time • Serverless • Elastic
  • 49. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Architectures for Apache Kafka in Retail?
  • 50. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Real-time Inventory System C2 Time P C3 C1 C2 C3 Asset / People Tracking Real-Time Alerting Geofencing for Distance Enforcement Continuous Real-Time Aggregation Plan Future Location Requirements Batch Analytics on Historical Events
  • 51. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Global Event Streaming Streaming Replication between Kafka Clusters Bridge to Databases, Data Lakes, Apps, APIs, SaaS Aggregate Small Footprint Edge Deployments with Replication (Aggregation) Simplify Disaster Recovery Operations with Multi-Region Clusters for RPO=0 and RTO~0 Stream Data Globally with Replication and Cluster Linking 68
  • 52. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de ‘My Porsche’ A digital service platform for customers, fans, and enthusiasts 70 https://medium.com/porschedev
  • 53. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Omnichannel Retail Time P C3 C2 C1 Sales Talk on site in Car Dealership Right now Location-based Customer Action Customer 360 (Website, Mobile App, On Site in Store, In-Car) Car Configurator 10 and 8 days ago Context-specific Marketing Campaign 90 and 60 days ago
  • 54. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Omnichannel Retail Time P C3 C2 C1 Machine Learning Context-specific Recommendations Location-based Customer Action Customer 360 (Business Intelligence, Machine Learning) Machine Learning Train Recommendation Engine Reporting All Customer Interactions
  • 55. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de CRM 3rd party payment provider Context-specific real-time upsell Customer data Payment processing and fraud detection as a service Manager Get report API Customer Customer Customer data Train schedule Payment data Loyalty information Streams of real time events Customer data Train schedule Payment data Loyalty information Streams of real time events Customer data Train schedule Payment data Loyalty information Streams of real time events Hybrid Retail Architecture
  • 56. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Point of Sale (POS) Loyalty System Local Inventory Management Payment Discount Customer data Train schedule Payment data Loyalty information Streams of real time events Global Inventory Management Event Streaming at the Edge in the Smart Retail Store Item Availability
  • 57. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Disconnected Edge Time P C3 C2 C1 Context-specific Advertisement Real-time (Milliseconds) Location-based Customer Action Always on (even “offline”) Replayability Reduced traffic cost Better latency Payment Processing Near Real-time (Seconds) Replication to Cloud Batch (Depending on Network Bandwidth)
  • 58. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Ship-Shore Highway – Swimming Retail Stores https://www.confluent.io/kafka-summit-lon19/seamless-guest-experience-with-kafka-streams/
  • 59. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Event Streaming Is The Future Of Data 82 Infrastructure as code Data as continuous streams of events Future of the datacenter Future of data Cloud Event Streaming
  • 60. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Why Confluent?
  • 61. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de The Rise of Data in Motion 2010 Apache Kafka created at LinkedIn by Confluent founders 2014 2020 80% Fortune 100 Companies trust and use Apache Kafka 84
  • 62. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de I N V E S T M E N T & T I M E V A L U E 3 4 5 1 2 Event Streaming Maturity Model Initial Awareness / Pilot (1 Kafka Cluster) Start to Build Pipeline / Deliver 1 New Outcome (1 Kafka Cluster) Mission-Critical Deployment (Stretched, Hybrid, Multi-Region) Build Contextual Event-Driven Apps (Stretched, Hybrid, Multi-Region) Central Nervous System (Global Kafka) Product, Support, Training, Partners, Technical Account Management... 85
  • 63. Apache Kafka in Retail – @KaiWaehner - www.kai-waehner.de Car Engine Car Self-driving Car Confluent completes Apache Kafka. Cloud-native. Everywhere.