Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Event-Driven Applications: Apache Kafka and Python
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
FTisiot
March 24, 2021
Technology
990
0
Share
Event-Driven Applications: Apache Kafka and Python
How to create Event-Driven Applications with Apache Kafka and Python
FTisiot
March 24, 2021
More Decks by FTisiot
See All by FTisiot
Apache Kafka JDBC Source Connector: What could go wrong?
ftisiot
0
130
Solve the Knapsack problem with recursive queries and PostgreSQL
ftisiot
0
150
Build an Open Source Data Pipeline
ftisiot
0
330
Get to know Apache Kafka with Jupyter Notebooks
ftisiot
0
750
Fix Your Strings in PostgreSQL
ftisiot
0
280
Practical Tips & Tricks for Apache Kafka Messages Integration
ftisiot
0
250
Track Database Changes with Apache Kafka
ftisiot
0
300
Apache Kafka and Flink: Stateful Streaming Data Pipelines made easy with SQL
ftisiot
0
970
Kickstart your Kafka with Faker Data
ftisiot
0
450
Other Decks in Technology
See All in Technology
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
23k
ある製造業の会社全体のAI化に1エンジニアが挑んだ話
kitami
2
950
ふりかえりを 「あそび」にしたら、 学習が勝手に進んだ / Playful Retros Drive Learning
katoaz
0
490
QGISプラグイン CMChangeDetector
naokimuroki
1
190
New CBs New Challenges
ysuzuki
1
180
Proxmox超入門
devops_vtj
0
200
みんなで作るAWS Tips 100連発 (FinOps編)
schwrzktz
1
170
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
18k
GitHub Copilotを極める会 - 開発者のための活用術
findy_eventslides
7
4.2k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.1k
LLM とプロンプトエンジニアリング/チューターを定義する / LLMs and Prompt Engineering, and Defining Tutors
ks91
PRO
0
360
あるアーキテクチャ決定と その結果/architecture-decision-and-its-result
hanhan1978
2
600
Featured
See All Featured
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
520
Are puppies a ranking factor?
jonoalderson
1
3.3k
Building the Perfect Custom Keyboard
takai
2
720
The Pragmatic Product Professional
lauravandoore
37
7.2k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Un-Boring Meetings
codingconduct
0
260
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
GraphQLとの向き合い方2022年版
quramy
50
14k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
Amusing Abliteration
ianozsvald
1
150
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
Transcript
Event-Driven Applications: Apache Kafka and Python Francesco Tisiot - Developer
Advocate @ftisiot
@ftisiot Why Kafka?
@ftisiot Why Kafka?
@ftisiot Why Kafka?
@ftisiot Event Driven Applications
@ftisiot What is an Event?
@ftisiot Why Event-driven?
@ftisiot What is Kafka? Topic A Topic B 0 1
2 3 4 0 1 2 3
@ftisiot Distributed Brokers Replication Factor 3 2
@ftisiot Distributed Replication Factor 2
@ftisiot What is a Kafka Event? <K, V> <"temp_max", 35.3>
<{ shop: "Mario's Pizza", phone_line: 3 } { orderId: 123456 name: "Andrea Pirlo", pizzas: [ { pizza: "Margherita", additionalToppings: ["Tuna","Onions","Ham"] }, ... ] } , >
@ftisiot Write to Kafka Producer Topic A Hostname + Port
Authentication Encoding
@ftisiot Hostname + Port Authentication Decoding Topic Name(s) Read from
Kafka Consumer Offset 0 1 2 3
@ftisiot Pizza Demo!
@ftisiot Log Size
@ftisiot Topic Partitions
@ftisiot Distributed
@ftisiot Topic Retention Policies Time Size
@ftisiot Selecting a Partition <K, V> Same Key Same Partition
@ftisiot Ordering 2 1 3 2 1 3 Partition 0
Partition 1 Partition 1 Guaranteed per Partition
@ftisiot Scaling Out P1 P2 P3 C1 C2
@ftisiot Partitions Demo!
@ftisiot Multiple Applications C1 C2 Consumer Group 1 CX Consumer
Group 2
@ftisiot Consumer Groups Demo!
@ftisiot Kafka Connect Kafka Connect Kafka Connect
@ftisiot Evolve Existing Applications Kafka Connect CDC
@ftisiot Distribute Events Config File Only!
@ftisiot Kafka Connect Demo!
@ftisiot Resources https://github.com/aiven/kafka-python-fake-data-producer https://aiven.io/ @ftisiot https://github.com/aiven/kafka-python-notebooks
@ftisiot Ask me Anything