Skip to content

Shoe Store Loyalty Engine - Flink SQL Workshop

Notifications You must be signed in to change notification settings

jr-marquez/shoe-store

 
 

Repository files navigation

Confluent Cloud - Flink SQL Shoe Store Workshop

Imagine you are running a shoe shop. You want to get an overview of shoe sales, understand your customers better, and you'd like to start a loyalty program, too. Luckily, you already use Confluent Cloud as a backbone for your data. This means you can leverage Confluent Flink SQL for some ad-hoc analyses, and determe which of your customers are currently eligible for a free pair of shoes!

For a good preparation and first understanding, please read this Guide to Flink SQL: An In-Depth Exploration . In this workshop, we will build a Shoe Store Loyalty Engine. We will use Flink SQL in Confluent Cloud on AWS. YOu can find an architecture diagram below.

image

Required Confluent Cloud Resources

The hands-on consists of two labs (see below), and these require Confluent Cloud infrastructure that has to be provisioned before we can start with the actual workshop.

Workshop Labs

  • Lab1: Flink Tables, Select Statements, Aggregations, Time Windows
  • Lab2: Join Statements, Data Enrichment, Statement Sets

Together, the Labs will design a loyality program within Flink SQL. You can see the complete Mapping of dynamic Tables and Topics in the next graphic.

image

Notification Client

You can find the Python Notification client in this guide.

Costs of this Confluent Cloud - Flink SQL Shoe Store Workshop

The lab execution do not consume much money. We calculated an amount of less than 10$ for a couple of hours of testing. If you create the cluster one day before, we recommend to pause all connectors.

About

Shoe Store Loyalty Engine - Flink SQL Workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 74.1%
  • Python 25.9%