SlideShare a Scribd company logo
Kafka
Software Engineer
CNCF Serverless WG
CloudEvents SDK Maintainer
Hello!
I am Fábio José
I am here because kafka is
awesome!
https://github.com/fabiojose
2
Kafka 101
What’s kafka!
?
Kafka is . . .
▪ High throughput and fault tolerant messaging platform
▪ The best of both worlds: topics and queues
▪ Platform that delivers the messages at least once
▪ Reliable & a persistent storage
4
Kafka isn’t . . .
▪ Product that concerns about who (concerns about groups)
▪ A queue or a topic queue
▪ Smart! Kafka is dumb (on its best meaning)
▪ Slow or heavyweight
5
Main Concepts
Producer
Who writes data
Consumer
Who reads data
Topics
Where data is
persisted
6
Main Concepts
Broker
Who...
Cluster
Who...
Zookeeper
Who manages the
cluster and the Kafka
metadata
7
Main Concepts
Consumer Group
A way to spread out the
data consumption, even if
consumers are geo
separated
Partition
Parallelism units
8
9
Kafka Broker
topic a
partition #0
partition #1
Producer
topic a
topic b
partition #0
partition #1
partition #2
Producer
topic a
Producer
topic b
Producer
topic b
topic a
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Y
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Z
a
b
topic b
Kafka Broker
topic a
partition #0
partition #1
Producer
topic a
topic b
partition #0
partition #1
partition #2
Producer
topic a
Producer
topic b
Producer
topic b
topic a
topic b
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Y
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Z
a
b
Kafka Broker
topic a
partition #0
partition #1
Producer
topic a
topic b
partition #0
partition #1
partition #2
Producer
topic a
Producer
topic b
Producer
topic b
topic a
topic b
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Y
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Z
a
b
Kafka Broker
topic a
partition #0
partition #1
Producer
topic a
topic b
partition #0
partition #1
partition #2
Producer
topic a
Producer
topic b
Producer
topic b
topic a
topic b
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Y
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Z
a
b
Kafka Broker
topic a
partition #0
partition #1
Producer
topic a
topic b
partition #0
partition #1
partition #2
Producer
topic a
Producer
topic b
Producer
topic b
topic a
topic b
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Y
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Z
a
b
Kafka Broker
topic a
partition #0
partition #1
Producer
topic a
topic b
partition #0
partition #1
partition #2
Producer
topic a
Producer
topic b
Producer
topic b
topic a
topic b
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Y
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Z
a
b
Kafka Broker
topic a
partition #0
partition #1
Producer
topic a
topic b
partition #0
partition #1
partition #2
Producer
topic a
Producer
topic b
Producer
topic b
topic a
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Y
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Z
a
b
topic b
Kafka Broker
topic a
partition #0
partition #1
Producer
topic a
topic b
partition #0
partition #1
partition #2
Producer
topic a
Producer
topic b
Producer
topic b
topic a
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Y
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Z
a
b
💤
topic b
#0
#1
Kafka Broker
topic a
partition #0
partition #1
Producer
topic a
topic b
partition #0
partition #1
partition #2
Producer
topic a
Producer
topic b
Producer
topic b
topic a
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Y
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Z
a
b
💤
topic b
#0
#1
#0
#2#1
Kafka Broker
topic a
partition #0
partition #1
Producer
topic a
topic b
partition #0
partition #1
partition #2
Producer
topic a
Producer
topic b
Producer
topic b
topic a
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Y
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Z
a
b
💤
topic b
#0
#1
#0
#2#1
Kafka Broker
topic a
partition #0
partition #1
Producer
topic a
topic b
partition #0
partition #1
partition #2
Producer
topic a
Producer
topic b
Producer
topic b
topic a
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Y
Consumer
#3
Consumer
#1
Consumer
#2
Consumer Group Z
a
b
💤
topic b
#0
#1
#0
#2#1
Kafka BR
Thanks!
Any questions?
You can find me at
▪ @fabioj0se
▪ fabiojose@gmail.com
21
Credits
Special thanks to all the people who made and
released these awesome resources for free:
▪ Presentation template by SlidesCarnival
▪ Photographs by Unsplash
22

More Related Content

PPTX
Kafka 101
PDF
Kafka meetup - kafka connect
PPTX
APACHE KAFKA / Kafka Connect / Kafka Streams
PPTX
Kafka101
ODP
Apache Kafka Demo
PPSX
Apache kafka introduction
PPTX
Apache Kafka - Messaging System Overview
PPTX
Apache kafka
Kafka 101
Kafka meetup - kafka connect
APACHE KAFKA / Kafka Connect / Kafka Streams
Kafka101
Apache Kafka Demo
Apache kafka introduction
Apache Kafka - Messaging System Overview
Apache kafka

What's hot (20)

PDF
Apache Kafka Introduction
PPTX
Apache kafka
PPTX
Kafka
PDF
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
PPTX
Apache kafka
PPTX
Kafka Summit NYC 2017 - Deep Dive Into Apache Kafka
PPTX
Grokking TechTalk #16: React stack at lozi
PPTX
Kafka replication apachecon_2013
PDF
An Introduction to Apache Kafka
PPTX
Kafka 0.8.0 Presentation to Atlanta Java User's Group March 2013
PPTX
Deep Dive into Apache Kafka
PPTX
Introduction to Apache Kafka
PDF
Grokking TechTalk #24: Kafka's principles and protocols
PDF
Kafka Overview
PPTX
Apache Kafka: Next Generation Distributed Messaging System
PPTX
Apache Kafka
PDF
Kafka Technical Overview
PDF
Testing Kafka components with Kafka for JUnit
PDF
LINE's messaging service architecture underlying more than 200 million monthl...
Apache Kafka Introduction
Apache kafka
Kafka
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
Apache kafka
Kafka Summit NYC 2017 - Deep Dive Into Apache Kafka
Grokking TechTalk #16: React stack at lozi
Kafka replication apachecon_2013
An Introduction to Apache Kafka
Kafka 0.8.0 Presentation to Atlanta Java User's Group March 2013
Deep Dive into Apache Kafka
Introduction to Apache Kafka
Grokking TechTalk #24: Kafka's principles and protocols
Kafka Overview
Apache Kafka: Next Generation Distributed Messaging System
Apache Kafka
Kafka Technical Overview
Testing Kafka components with Kafka for JUnit
LINE's messaging service architecture underlying more than 200 million monthl...
Ad

Similar to Kafka 101 - Meetup Kafka BR - Oracle (20)

PDF
Kafka101 na Superdigital
PDF
Apache Kafka - Event Sourcing, Monitoring, Librdkafka, Scaling & Partitioning
PDF
Dissolving the Problem: Making an ACID-Compliant Database Out of Apache Kafka
PDF
Dissolving the Problem (Making an ACID-Compliant Database Out of Apache Kafka®)
PDF
Strimzi - Where Apache Kafka meets OpenShift - OpenShift Spain MeetUp
PDF
Apache Kafka - Scalable Message-Processing and more !
PDF
Apache Kafka's Common Pitfalls & Intricacies: A Customer Support Perspective
PPTX
Getting Started with Kafka on k8s
PPTX
Apache Kafka 101 by Confluent Developer Friendly
PDF
101 ways to configure kafka - badly
PDF
Kafka 101 and Developer Best Practices
PPTX
apache-kafka-101 a simple presentation on how to use Kafka
PDF
DevoxxFR 2016 - 3 degrees of MoM
PPTX
Westpac Bank Tech Talk 1: Dive into Apache Kafka
PDF
SFBigAnalytics_20190724: Monitor kafka like a Pro
PDF
Introduction to Apache Kafka
PPTX
Apache Pulsar: A Foundation Backbone for Clever Cloud - Pulsar Virtual Summit...
PDF
Introduction to Apache Kafka
PDF
Polyglot, fault-tolerant event-driven programming with kafka, kubernetes and ...
PDF
8 Lessons Learned from Using Kafka in 1000 Scala microservices - Scale by the...
Kafka101 na Superdigital
Apache Kafka - Event Sourcing, Monitoring, Librdkafka, Scaling & Partitioning
Dissolving the Problem: Making an ACID-Compliant Database Out of Apache Kafka
Dissolving the Problem (Making an ACID-Compliant Database Out of Apache Kafka®)
Strimzi - Where Apache Kafka meets OpenShift - OpenShift Spain MeetUp
Apache Kafka - Scalable Message-Processing and more !
Apache Kafka's Common Pitfalls & Intricacies: A Customer Support Perspective
Getting Started with Kafka on k8s
Apache Kafka 101 by Confluent Developer Friendly
101 ways to configure kafka - badly
Kafka 101 and Developer Best Practices
apache-kafka-101 a simple presentation on how to use Kafka
DevoxxFR 2016 - 3 degrees of MoM
Westpac Bank Tech Talk 1: Dive into Apache Kafka
SFBigAnalytics_20190724: Monitor kafka like a Pro
Introduction to Apache Kafka
Apache Pulsar: A Foundation Backbone for Clever Cloud - Pulsar Virtual Summit...
Introduction to Apache Kafka
Polyglot, fault-tolerant event-driven programming with kafka, kubernetes and ...
8 Lessons Learned from Using Kafka in 1000 Scala microservices - Scale by the...
Ad

Recently uploaded (20)

PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Empathic Computing: Creating Shared Understanding
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Approach and Philosophy of On baking technology
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Machine learning based COVID-19 study performance prediction
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Cloud computing and distributed systems.
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
cuic standard and advanced reporting.pdf
PPT
Teaching material agriculture food technology
Encapsulation_ Review paper, used for researhc scholars
Empathic Computing: Creating Shared Understanding
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
MIND Revenue Release Quarter 2 2025 Press Release
“AI and Expert System Decision Support & Business Intelligence Systems”
Approach and Philosophy of On baking technology
Big Data Technologies - Introduction.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Machine learning based COVID-19 study performance prediction
Unlocking AI with Model Context Protocol (MCP)
Reach Out and Touch Someone: Haptics and Empathic Computing
Cloud computing and distributed systems.
sap open course for s4hana steps from ECC to s4
20250228 LYD VKU AI Blended-Learning.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
cuic standard and advanced reporting.pdf
Teaching material agriculture food technology

Kafka 101 - Meetup Kafka BR - Oracle

  • 2. Software Engineer CNCF Serverless WG CloudEvents SDK Maintainer Hello! I am Fábio José I am here because kafka is awesome! https://github.com/fabiojose 2
  • 4. Kafka is . . . ▪ High throughput and fault tolerant messaging platform ▪ The best of both worlds: topics and queues ▪ Platform that delivers the messages at least once ▪ Reliable & a persistent storage 4
  • 5. Kafka isn’t . . . ▪ Product that concerns about who (concerns about groups) ▪ A queue or a topic queue ▪ Smart! Kafka is dumb (on its best meaning) ▪ Slow or heavyweight 5
  • 6. Main Concepts Producer Who writes data Consumer Who reads data Topics Where data is persisted 6
  • 8. Main Concepts Consumer Group A way to spread out the data consumption, even if consumers are geo separated Partition Parallelism units 8
  • 9. 9 Kafka Broker topic a partition #0 partition #1 Producer topic a topic b partition #0 partition #1 partition #2 Producer topic a Producer topic b Producer topic b topic a Consumer #3 Consumer #1 Consumer #2 Consumer Group Y Consumer #3 Consumer #1 Consumer #2 Consumer Group Z a b topic b
  • 10. Kafka Broker topic a partition #0 partition #1 Producer topic a topic b partition #0 partition #1 partition #2 Producer topic a Producer topic b Producer topic b topic a topic b Consumer #3 Consumer #1 Consumer #2 Consumer Group Y Consumer #3 Consumer #1 Consumer #2 Consumer Group Z a b
  • 11. Kafka Broker topic a partition #0 partition #1 Producer topic a topic b partition #0 partition #1 partition #2 Producer topic a Producer topic b Producer topic b topic a topic b Consumer #3 Consumer #1 Consumer #2 Consumer Group Y Consumer #3 Consumer #1 Consumer #2 Consumer Group Z a b
  • 12. Kafka Broker topic a partition #0 partition #1 Producer topic a topic b partition #0 partition #1 partition #2 Producer topic a Producer topic b Producer topic b topic a topic b Consumer #3 Consumer #1 Consumer #2 Consumer Group Y Consumer #3 Consumer #1 Consumer #2 Consumer Group Z a b
  • 13. Kafka Broker topic a partition #0 partition #1 Producer topic a topic b partition #0 partition #1 partition #2 Producer topic a Producer topic b Producer topic b topic a topic b Consumer #3 Consumer #1 Consumer #2 Consumer Group Y Consumer #3 Consumer #1 Consumer #2 Consumer Group Z a b
  • 14. Kafka Broker topic a partition #0 partition #1 Producer topic a topic b partition #0 partition #1 partition #2 Producer topic a Producer topic b Producer topic b topic a topic b Consumer #3 Consumer #1 Consumer #2 Consumer Group Y Consumer #3 Consumer #1 Consumer #2 Consumer Group Z a b
  • 15. Kafka Broker topic a partition #0 partition #1 Producer topic a topic b partition #0 partition #1 partition #2 Producer topic a Producer topic b Producer topic b topic a Consumer #3 Consumer #1 Consumer #2 Consumer Group Y Consumer #3 Consumer #1 Consumer #2 Consumer Group Z a b topic b
  • 16. Kafka Broker topic a partition #0 partition #1 Producer topic a topic b partition #0 partition #1 partition #2 Producer topic a Producer topic b Producer topic b topic a Consumer #3 Consumer #1 Consumer #2 Consumer Group Y Consumer #3 Consumer #1 Consumer #2 Consumer Group Z a b 💤 topic b #0 #1
  • 17. Kafka Broker topic a partition #0 partition #1 Producer topic a topic b partition #0 partition #1 partition #2 Producer topic a Producer topic b Producer topic b topic a Consumer #3 Consumer #1 Consumer #2 Consumer Group Y Consumer #3 Consumer #1 Consumer #2 Consumer Group Z a b 💤 topic b #0 #1 #0 #2#1
  • 18. Kafka Broker topic a partition #0 partition #1 Producer topic a topic b partition #0 partition #1 partition #2 Producer topic a Producer topic b Producer topic b topic a Consumer #3 Consumer #1 Consumer #2 Consumer Group Y Consumer #3 Consumer #1 Consumer #2 Consumer Group Z a b 💤 topic b #0 #1 #0 #2#1
  • 19. Kafka Broker topic a partition #0 partition #1 Producer topic a topic b partition #0 partition #1 partition #2 Producer topic a Producer topic b Producer topic b topic a Consumer #3 Consumer #1 Consumer #2 Consumer Group Y Consumer #3 Consumer #1 Consumer #2 Consumer Group Z a b 💤 topic b #0 #1 #0 #2#1
  • 21. Thanks! Any questions? You can find me at ▪ @fabioj0se ▪ fabiojose@gmail.com 21
  • 22. Credits Special thanks to all the people who made and released these awesome resources for free: ▪ Presentation template by SlidesCarnival ▪ Photographs by Unsplash 22