SlideShare a Scribd company logo
@gamussa | #eventdriven | @ConfluentINc
Building Event-Driven
Apps with
Apache Kafka &
Confluent Platform
@gamussa | #eventdriven | @ConfluentINc
2
@gamussa | #eventdriven | @ConfluentINc
3
I build highly scalable
Hello World
apps @kennybastani
Photoby KhaiSzeOng on Unsplash
Photoby RainierRidao on Unsplash
Photoby RohitTandon on Unsplash
Photoby TheodoreMoore on Unsplash
Photoby CristianGrecu on Unsplash
@gamussa | #eventdriven | @ConfluentINc
9
Normal
Applications
(i.e., monoliths)
@gamussa | #eventdriven | @ConfluentINc
10
Monoliths
are hard to
think about
@gamussa | #eventdriven | @ConfluentINc
11
Monoliths
are hard to
change
Refactoring to
microservices
@gamussa | #eventdriven | @ConfluentINc
13
Re-
integration?
@gamussa | #eventdriven | @ConfluentINc
14
Re-
integration
Photoby DevaDarshan from Pexels
@gamussa | #eventdriven | @ConfluentINc
16
There are no good
ways to integrate
microservices
@gamussa | #eventdriven | @ConfluentINc
17
There are no-good
ways to integrate
microservices
@gamussa | #eventdriven | @ConfluentINc
18
Filesystem
@gamussa | #eventdriven | @ConfluentINc
19
@gamussa | #eventdriven | @ConfluentINc
20
Database
@gamussa | #eventdriven | @ConfluentINc
21
@gamussa | #eventdriven | @ConfluentINc
22
Integrating Microservices
through the database
● “I have a database and I know how to use it.”
● Eventually causes services to co-mingle.
● Violation the «bounded context»
● Great to use inside a service boundary!
● Terrible for sharing data or negotiating
change.
@gamussa | #eventdriven | @ConfluentINc
23
RPC
@gamussa | #eventdriven | @ConfluentINc
24
@gamussa | #eventdriven | @ConfluentINc
25
Integrating
microservices via RPC
● Avoids problems of database integration
● Feels natural
● Aligns with the request/response paradigm
● Problem: cascading failures
● Question: how do you debug this system?
● Answer: you build a log.
🤔
@gamussa | #eventdriven | @ConfluentINc
26
Log4j type
of log? 🤔
@gamussa | #eventdriven | @ConfluentINc
27
Events?
@gamussa | #eventdriven | @ConfluentINc
28
What’s an
event?
@gamussa | #eventdriven | @ConfluentINc
A shared narrative
describing the
evolution of the business
over time
29
@gamussa | #eventdriven | @ConfluentINc
A combination of:
Notification
State transfer
30
@gamussa | #eventdriven | @ConfluentINc
Also,
events
are immutable.
31
@gamussa | #eventdriven | @ConfluentINc
32
Core abstraction
● DB - table
● Hadoop - file
● Kafka - ?
@gamussa | #eventdriven | @ConfluentINc
33
LOG
@gamussa | #eventdriven | @ConfluentINc
34
A Rich
Microservices
Application
@gamussa | #eventdriven | @ConfluentINc
35
@gamussa | #eventdriven | @ConfluentINc
36
Ratings Service operating on the event stream
Order
Requested
ratings
raw-rating
Ratings
Service
KStreams API
used to count and
sum ratings as
they arrive
Browser
Webserver
KAFKA
ratings
counts
ratings
sums
ratings
@gamussa | #eventdriven | @ConfluentINc
37
Schema Management
Order
Requested
ratings
raw-rating
Ratings
Service
Browser
Webserver
KAFKA
ratings
counts
ratings
sums
ratings
Schema Registry
KStreams API
used to count and
sum ratings as
they arrive
@gamussa | #eventdriven | @ConfluentINc
38
Access legacy relation data
Order
Requested
ratings
raw-rating
Ratings
Service
Browser
Webserver
KAFKA
ratings
counts
ratings
sums
ratings
Schema Registry
Connect
Movies
KAFKA
KStreams API
used to count and
sum ratings as
they arrive
@gamussa | #eventdriven | @ConfluentINc
39
Materialize tables inside the app
Order
Requested
ratings
raw-rating
Ratings
Service
Browser
Webserver
KAFKA
ratings
counts
ratings
sums
ratings
Schema Registry
Connect
Movies
KAFKA
Lookup table
created inside the
Rating Service
Movies
@gamussa | #eventdriven | @ConfluentINc
40
Create a new table, persist it to the log
Order
Requested
ratings
raw-rating
Ratings
Service
Browser
Webserver
KAFKA
ratings
counts
ratings
sums
ratings
Schema Registry
Connect
Movies
KAFKA
Movies
rated-movies
rated-movies
Writable
table
created for
rated
movies
@gamussa | #eventdriven | @ConfluentINc
41
Create a new table, persist it to the log
Order
Requested
ratings
raw-rating
Ratings
Service
Browser
Webserver
KAFKA
ratings
counts
ratings
sums
ratings
Schema Registry
Connect
Movies
KAFKA
Movies
rated-movies
rated-movies
TRANSACTION
@gamussa | #eventdriven | @ConfluentINc
42
Hydrate a materialized view
Order
Requested
ratings
raw-rating
Ratings
Service
Browser
Webserver
KAFKA
ratings
counts
ratings
sums
ratings
Schema Registry
Connect
Movies
KAFKA
rated-movies
an embedded
database
CDC
@gamussa | #eventdriven | @ConfluentINc
43
What’s new
in Cp 5.2?
@gamussa | #eventdriven | @ConfluentINc
44
Message browser
enhancements
Why
Makes reading messages easier for application
development & troubleshooting
Features
● Feed auto-load, scroll, pause, and resume
● Seek to specific offsets (per partition)
● Card & table formats
● Message metadata
@gamussa | #eventdriven | @ConfluentINc
45
KSQL UI enhancements
Why
Improves KSQL usability & overall UX
Features
● Feed pause & resume
● Card & table formats
● Clearer query status
● Improved error messaging
● Output metadata
@gamussa | #eventdriven | @ConfluentINc
46
Schema management
Why
Enables schema editing & policy management
Features
● Create and edit schemas
● Validate schemas against compatibility 

policy
● Manage compatibility policy
@gamussa | #eventdriven | @ConfluentINc
47
Dynamic broker
configuration
Why
Helps operators manage their brokers
Features
● Change broker configs that don’t require
restarts
@gamussa | #eventdriven | @ConfluentINc
48
License management
Why
Makes managing the subscription license easier and
prevents unexpected expirations
Features
● License checking
● License submission
● Pending expiration alerts (3mo out, 1mo out, weekly
for the last month, daily for the last week)
● Expired license notice
@gamussa | #eventdriven | @ConfluentINc
49
Multi-cluster KSQL
Why
Runs queries on 1+ KSQL clusters
Features
● Many-to-1 mapping for KSQL-to-Kafka
Configuration
● confluent.controlcenter.ksql.<name of cluster>.url =
<list of urls>
● confluent.controlcenter.ksql.<name of
cluster>.advertised.url = <list of urls>
@gamussa | #eventdriven | @ConfluentINc
50
Multi-cluster Connect
Why
Run, monitor, and manage connectors on 1+ Connect
clusters
Features
● Many-to-1 mapping for Connect-to-Kafka
Configuration
● confluent.controlcenter.connect.<name>.

cluster = <list of urls>
@gamussa | #eventdriven | @ConfluentINc
51
My personal favorite
@gamussa | #eventdriven | @ConfluentINc
52
Kafka-topics use AdminClient API
CP 5.2 is Free
forever on
a single Kafka
broker
54
Stay in touch
cnfl.io/meetupscnfl.io/slackcnfl.io/blog
55

More Related Content

PDF
Benefits of Stream Processing and Apache Kafka Use Cases
PDF
Kafka Streams vs. KSQL for Stream Processing on top of Apache Kafka
PDF
Why Build an Apache Kafka® Connector
PDF
Technical Deep Dive: Using Apache Kafka to Optimize Real-Time Analytics in Fi...
PDF
Top use cases for 2022 with Data in Motion and Apache Kafka
PDF
Apache Kafka as Event Streaming Platform for Microservice Architectures
PPTX
Bridge Your Kafka Streams to Azure Webinar
PPTX
Stream me to the Cloud (and back) with Confluent & MongoDB
Benefits of Stream Processing and Apache Kafka Use Cases
Kafka Streams vs. KSQL for Stream Processing on top of Apache Kafka
Why Build an Apache Kafka® Connector
Technical Deep Dive: Using Apache Kafka to Optimize Real-Time Analytics in Fi...
Top use cases for 2022 with Data in Motion and Apache Kafka
Apache Kafka as Event Streaming Platform for Microservice Architectures
Bridge Your Kafka Streams to Azure Webinar
Stream me to the Cloud (and back) with Confluent & MongoDB

What's hot (20)

PDF
Top 5 Event Streaming Use Cases for 2021 with Apache Kafka
PDF
Best Practices for Streaming IoT Data with MQTT and Apache Kafka®
PPTX
IIoT with Kafka and Machine Learning for Supply Chain Optimization In Real Ti...
PDF
Streamsheets and Apache Kafka – Interactively build real-time Dashboards and ...
PDF
Confluent Platform 5.4 + Apache Kafka 2.4 Overview (RBAC, Tiered Storage, Mul...
PPTX
Supply Chain Optimization with Apache Kafka
PDF
Concepts and Patterns for Streaming Services with Kafka
PDF
Amsterdam meetup at ING June 18, 2019
PPTX
Should we manage events like APIs? | Kim Clark, IBM
PDF
Architecture patterns for distributed, hybrid, edge and global Apache Kafka d...
PDF
Cloud Native London 2019 Faas composition using Kafka and cloud-events
PDF
The Rise Of Event Streaming – Why Apache Kafka Changes Everything
PDF
Bridge to Cloud: Using Apache Kafka to Migrate to AWS
PDF
GCP for Apache Kafka® Users: Stream Ingestion and Processing
PDF
Elastically Scaling Kafka Using Confluent
PDF
Building a Secure, Tamper-Proof & Scalable Blockchain on Top of Apache Kafka ...
PPTX
Realtime stream processing with kafka
PDF
Bridge to Cloud: Using Apache Kafka to Migrate to GCP
PDF
Build a Bridge to Cloud with Apache Kafka® for Data Analytics Cloud Services
PDF
Real-time processing of large amounts of data
Top 5 Event Streaming Use Cases for 2021 with Apache Kafka
Best Practices for Streaming IoT Data with MQTT and Apache Kafka®
IIoT with Kafka and Machine Learning for Supply Chain Optimization In Real Ti...
Streamsheets and Apache Kafka – Interactively build real-time Dashboards and ...
Confluent Platform 5.4 + Apache Kafka 2.4 Overview (RBAC, Tiered Storage, Mul...
Supply Chain Optimization with Apache Kafka
Concepts and Patterns for Streaming Services with Kafka
Amsterdam meetup at ING June 18, 2019
Should we manage events like APIs? | Kim Clark, IBM
Architecture patterns for distributed, hybrid, edge and global Apache Kafka d...
Cloud Native London 2019 Faas composition using Kafka and cloud-events
The Rise Of Event Streaming – Why Apache Kafka Changes Everything
Bridge to Cloud: Using Apache Kafka to Migrate to AWS
GCP for Apache Kafka® Users: Stream Ingestion and Processing
Elastically Scaling Kafka Using Confluent
Building a Secure, Tamper-Proof & Scalable Blockchain on Top of Apache Kafka ...
Realtime stream processing with kafka
Bridge to Cloud: Using Apache Kafka to Migrate to GCP
Build a Bridge to Cloud with Apache Kafka® for Data Analytics Cloud Services
Real-time processing of large amounts of data
Ad

Similar to Building Event-Driven Applications with Apache Kafka & Confluent Platform (20)

PDF
The Awakening of the New Event-Driven (Beast) (Viktor Gamov, Confluent) Kafka...
PDF
Now You See Me, Now You Compute: Building Event-Driven Architectures with Apa...
PDF
Achieve Sub-Second Analytics on Apache Kafka with Confluent and Imply
PDF
How to Build Streaming Apps with Confluent II
PDF
Kafka Vienna Meetup 020719
PDF
Application Modernisation through Event-Driven Microservices
PDF
Beyond the brokers - A tour of the Kafka ecosystem
PDF
Beyond the Brokers: A Tour of the Kafka Ecosystem
PDF
Introduction to Apache Kafka and Confluent... and why they matter!
PDF
Introduction to Apache Kafka and Confluent... and why they matter
PDF
All Streams Ahead! ksqlDB Workshop ANZ
PDF
Event Driven Architecture with a RESTful Microservices Architecture (Kyle Ben...
PPTX
Confluent Kafka and KSQL: Streaming Data Pipelines Made Easy
PDF
APAC ksqlDB Workshop
PDF
Jay Kreps | Kafka Summit NYC 2019 Keynote (Events Everywhere) | CEO, Confluent
PDF
Introduction to apache kafka, confluent and why they matter
PPTX
Introduction to ksqlDB and stream processing (Vish Srinivasan - Confluent)
PDF
JHipster conf 2019 - Kafka Ecosystem
PDF
Apache Kafka and KSQL in Action: Let's Build a Streaming Data Pipeline!
PDF
What is Apache Kafka, and What is an Event Streaming Platform?
The Awakening of the New Event-Driven (Beast) (Viktor Gamov, Confluent) Kafka...
Now You See Me, Now You Compute: Building Event-Driven Architectures with Apa...
Achieve Sub-Second Analytics on Apache Kafka with Confluent and Imply
How to Build Streaming Apps with Confluent II
Kafka Vienna Meetup 020719
Application Modernisation through Event-Driven Microservices
Beyond the brokers - A tour of the Kafka ecosystem
Beyond the Brokers: A Tour of the Kafka Ecosystem
Introduction to Apache Kafka and Confluent... and why they matter!
Introduction to Apache Kafka and Confluent... and why they matter
All Streams Ahead! ksqlDB Workshop ANZ
Event Driven Architecture with a RESTful Microservices Architecture (Kyle Ben...
Confluent Kafka and KSQL: Streaming Data Pipelines Made Easy
APAC ksqlDB Workshop
Jay Kreps | Kafka Summit NYC 2019 Keynote (Events Everywhere) | CEO, Confluent
Introduction to apache kafka, confluent and why they matter
Introduction to ksqlDB and stream processing (Vish Srinivasan - Confluent)
JHipster conf 2019 - Kafka Ecosystem
Apache Kafka and KSQL in Action: Let's Build a Streaming Data Pipeline!
What is Apache Kafka, and What is an Event Streaming Platform?
Ad

More from confluent (20)

PDF
Stream Processing Handson Workshop - Flink SQL Hands-on Workshop (Korean)
PPTX
Webinar Think Right - Shift Left - 19-03-2025.pptx
PDF
Migration, backup and restore made easy using Kannika
PDF
Five Things You Need to Know About Data Streaming in 2025
PDF
Data in Motion Tour Seoul 2024 - Keynote
PDF
Data in Motion Tour Seoul 2024 - Roadmap Demo
PDF
From Stream to Screen: Real-Time Data Streaming to Web Frontends with Conflue...
PDF
Confluent per il settore FSI: Accelerare l'Innovazione con il Data Streaming...
PDF
Data in Motion Tour 2024 Riyadh, Saudi Arabia
PDF
Build a Real-Time Decision Support Application for Financial Market Traders w...
PDF
Strumenti e Strategie di Stream Governance con Confluent Platform
PDF
Compose Gen-AI Apps With Real-Time Data - In Minutes, Not Weeks
PDF
Building Real-Time Gen AI Applications with SingleStore and Confluent
PDF
Unlocking value with event-driven architecture by Confluent
PDF
Il Data Streaming per un’AI real-time di nuova generazione
PDF
Unleashing the Future: Building a Scalable and Up-to-Date GenAI Chatbot with ...
PDF
Break data silos with real-time connectivity using Confluent Cloud Connectors
PDF
Building API data products on top of your real-time data infrastructure
PDF
Speed Wins: From Kafka to APIs in Minutes
PDF
Evolving Data Governance for the Real-time Streaming and AI Era
Stream Processing Handson Workshop - Flink SQL Hands-on Workshop (Korean)
Webinar Think Right - Shift Left - 19-03-2025.pptx
Migration, backup and restore made easy using Kannika
Five Things You Need to Know About Data Streaming in 2025
Data in Motion Tour Seoul 2024 - Keynote
Data in Motion Tour Seoul 2024 - Roadmap Demo
From Stream to Screen: Real-Time Data Streaming to Web Frontends with Conflue...
Confluent per il settore FSI: Accelerare l'Innovazione con il Data Streaming...
Data in Motion Tour 2024 Riyadh, Saudi Arabia
Build a Real-Time Decision Support Application for Financial Market Traders w...
Strumenti e Strategie di Stream Governance con Confluent Platform
Compose Gen-AI Apps With Real-Time Data - In Minutes, Not Weeks
Building Real-Time Gen AI Applications with SingleStore and Confluent
Unlocking value with event-driven architecture by Confluent
Il Data Streaming per un’AI real-time di nuova generazione
Unleashing the Future: Building a Scalable and Up-to-Date GenAI Chatbot with ...
Break data silos with real-time connectivity using Confluent Cloud Connectors
Building API data products on top of your real-time data infrastructure
Speed Wins: From Kafka to APIs in Minutes
Evolving Data Governance for the Real-time Streaming and AI Era

Recently uploaded (20)

PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Approach and Philosophy of On baking technology
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Network Security Unit 5.pdf for BCA BBA.
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Empathic Computing: Creating Shared Understanding
PPTX
A Presentation on Artificial Intelligence
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
MIND Revenue Release Quarter 2 2025 Press Release
Approach and Philosophy of On baking technology
MYSQL Presentation for SQL database connectivity
Network Security Unit 5.pdf for BCA BBA.
The AUB Centre for AI in Media Proposal.docx
Digital-Transformation-Roadmap-for-Companies.pptx
Empathic Computing: Creating Shared Understanding
A Presentation on Artificial Intelligence
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Assigned Numbers - 2025 - Bluetooth® Document
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Dropbox Q2 2025 Financial Results & Investor Presentation
Spectral efficient network and resource selection model in 5G networks
NewMind AI Weekly Chronicles - August'25-Week II
sap open course for s4hana steps from ECC to s4
Reach Out and Touch Someone: Haptics and Empathic Computing
Mobile App Security Testing_ A Comprehensive Guide.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11

Building Event-Driven Applications with Apache Kafka & Confluent Platform