-
Notifications
You must be signed in to change notification settings - Fork 29
/
00_agenda-2-days-Apache-Kafka-Workshop.html
237 lines (207 loc) · 11.4 KB
/
00_agenda-2-days-Apache-Kafka-Workshop.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Stream Processing with Apache Kafka Workshop | 2 days</title>
<meta name="description" content="Stream Processing with Apache Kafka Workshop | 2 days">
<meta name="author" content="Jacek Laskowski">
<link rel="stylesheet" href="reveal5/dist/reset.css">
<link rel="stylesheet" href="reveal5/dist/reveal.css">
<link rel="stylesheet" href="reveal5/dist/theme/beige.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="reveal5/plugin/highlight/monokai.css">
<!-- Jacek: custom formatting -->
<link rel="stylesheet" href="revealjs-css/jacek.css">
</head>
<body>
<div class="reveal">
<div class="footer">
<footer style="font-size: small;">
© <a href="https://medium.com/@jaceklaskowski">Jacek Laskowski</a> 2023 / <a
href="https://twitter.com/jaceklaskowski">@JacekLaskowski</a>
</footer>
</div>
<div class="slides">
<section class="intro" data-transition="zoom" id="home">
<p>
<img width="14%" style="background:none; border:none; box-shadow:none;" data-src="images/kafka-logo.png">
<img width="10%" src="images/jacek_laskowski_20201229_200x200.png" style="border: 0">
</p>
<h1 style="font-size: 2.77em;">Stream Processing<br>with Apache Kafka Workshop <small>2 Days</small></h1>
<h4 style="font-size: smaller;">
<a href="https://twitter.com/jaceklaskowski">@jaceklaskowski</a> / <a
href="https://stackoverflow.com/users/1305344/jacek-laskowski">StackOverflow</a> / <a
href="https://github.com/jaceklaskowski">GitHub</a> / <a
href="https://www.linkedin.com/in/jaceklaskowski/">LinkedIn</a>
<br>
The "Internals" Books: <a href="https://books.japila.pl">books.japila.pl</a>
</h4>
</section>
<section>
<section id="speaker" style="font-size: 85%" data-markdown>
<textarea data-template>
<p><img width="12%" src="images/jacek_laskowski_20201229_200x200.png" style="border: 0"></p>
* **Jacek Laskowski** is a Freelance Data Engineer
* Specializing in [Apache Spark](https://books.japila.pl/apache-spark-internals/), [Delta Lake](https://books.japila.pl/delta-lake-internals/), [Databricks](https://databricks.com), [Apache Kafka](https://books.japila.pl/kafka-internals/), [Kafka Streams](https://books.japila.pl/kafka-streams-internals/), [ksqlDB](https://books.japila.pl/ksqldb-internals/)
* Development | Consulting | Training | Mentoring | Speaking
* Best known by [The Internals Of](https://books.japila.pl) online books
* Follow [@JacekLaskowski](https://twitter.com/jaceklaskowski) on twitter
* Connect on [LinkedIn](https://www.linkedin.com/in/jaceklaskowski/)
</textarea>
</section>
<section id="books" data-markdown>
<script type="text/template">
# "The Internals Of" Online Books
Head over to [https://books.japila.pl](https://books.japila.pl)
</script>
</section>
</section>
<section>
<section id="goal" data-markdown>
<textarea data-template>
# Goal
<p>
Practical understanding of<br />
<b><span style="font-size: 200%">Apache Kafka</span></b><br />
for developers<br />
</p>
</textarea>
</section>
</section>
<section>
<section id="agenda" data-markdown>
<textarea data-template>
## Agenda
1. [Day 1](#/day1) — Kafka Fundamentals
1. [Day 2](#/day2) — Kafka Development
</textarea>
</section>
<section id="day1" data-markdown>
<textarea data-template>
<!-- .slide: style="font-size: 80%" -->
## Day 1 — Kafka Fundamentals
1. [The Essentials of Apache Kafka](apache-kafka-essentials.html)
* [Exercise: Installing and Running Kafka](https://jaceklaskowski.github.io/kafka-workshop/exercises/kafka-exercise-Installing-and-Running-Kafka-Broker.html)
* [Exercise: Exploring Zookeeper](https://jaceklaskowski.github.io/kafka-workshop/exercises/kafka-exercise-Exploring-Zookeeper.html)
1. [Using (Confluent) Kafka with Docker](https://docs.confluent.io/platform/current/platform-quickstart.html#step-1-download-and-start-cp)
1. Developing Kafka Applications
* [Exercise: Developing Kafka Producer](https://jaceklaskowski.github.io/kafka-workshop/exercises/kafka-exercise-Developing-Kafka-Producer.html)
* [Exercise: Developing Kafka Consumer](https://jaceklaskowski.github.io/kafka-workshop/exercises/kafka-exercise-Developing-Kafka-Consumer.html)
1. [Partitioner](https://kafka.apache.org/33/javadoc/org/apache/kafka/clients/producer/Partitioner.html)
1. [Sending Records with Callback](https://kafka.apache.org/33/javadoc/org/apache/kafka/clients/producer/KafkaProducer.html#send-org.apache.kafka.clients.producer.ProducerRecord-org.apache.kafka.clients.producer.Callback-)
1. [Transactional Producer](https://books.japila.pl/kafka-internals/transactions/)
1. Kafka Client and Broker Configuration
* [Exercise: Configuring Multi-Broker Kafka Cluster](https://jaceklaskowski.github.io/kafka-workshop/exercises/kafka-exercise-Configuring-Multi-Broker-Kafka-Cluster.html)
1. [Managing Kafka Topics](kafka-managing-kafka-topics.html)
* [Exercise: Using kafka-topics with Multi-Broker
Cluster](https://jaceklaskowski.github.io/kafka-workshop/exercises/kafka-exercise-Using-kafka-topics-with-Multi-Broker-Cluster.html)
</textarea>
</section>
<section id="day2" data-markdown>
<textarea data-template>
<!-- .slide: style="font-size: 70%" -->
## Day 2 — Kafka Development
1. [Kafka Consumers, Consumer Groups, and Partition Rebalancing](kafka-consumers-consumer-groups-and-partition-rebalancing.html)
* [Exercise: Using Consumer Group](https://jaceklaskowski.github.io/kafka-workshop/exercises/kafka-exercise-using-consumer-group.html)
1. [ConsumerRebalanceListener](https://kafka.apache.org/33/javadoc/org/apache/kafka/clients/consumer/ConsumerRebalanceListener.html)
1. [ConsumerPartitionAssignor](https://kafka.apache.org/33/javadoc/org/apache/kafka/clients/consumer/ConsumerPartitionAssignor.html)
1. [Kafka Streams Essentials](kafka-streams-essentials.html)
1. [High-Level Streams DSL](kafka-streams-streams-dsl.html)
* [Exercise: Processing Record Stream with KStream](https://jaceklaskowski.github.io/kafka-workshop/exercises/kafka-streams/processing-record-stream-with-kstream.html)
* [Exercise: Joining KStream with KTable ("Currency Exchange")](https://jaceklaskowski.github.io/kafka-workshop/exercises/kafka-streams/kstream-join-ktable.html)
</textarea>
</section>
</section>
<section>
<section id="prerequisities">
<h1>Prerequisities</h1>
<h4>Be prepared to get the most out of the workshop</h4>
</section>
<section id="prerequisities-experience">
<h2>Prerequisities / Experience</h2>
<ol>
<li>Some familiarity with messaging systems</li>
<li>Experience developing applications in Java (or Scala)</li>
<li>Experience with shell / command line</li>
</ol>
</section>
<section id="prerequisities-to-be-installed">
<h2>Prerequisities / To Be Installed</h2>
<ul>
<li>Linux or macOS (preferred)</li>
<li><a href="https://www.jetbrains.com/idea/">IntelliJ IDEA</a></li>
<li>Java 17 (JDK)
<ul>
<li><a href="https://adoptium.net/temurin/releases/?version=17">Eclipse Temurin</a> or compatible</li>
</ul>
</li>
<li><a href="https://docs.docker.com/engine/install/">Docker installed and running</a>
<ul>
<li>Incl. <a href="https://docs.docker.com/compose/install/">Docker Compose</a></li>
</ul>
</li>
</ul>
</section>
</section>
<section>
<section id="in-da-clazz">
<h1>In-Class Preparations</h1>
<h4>Make Instructor's Life Slightly Easier. Thanks!</h4>
</section>
<section id="introduce-yourself">
<h2>Introduce Yourself</h2>
<ol>
<li>First name</li>
<li>What's your experience with Kafka?</li>
<li>Any development experience with Kafka?</li>
<li>What are your expectations from the workshop?</li>
<li>Any fun facts? 😉</li>
</ol>
</section>
</section>
<section style="text-align: left" data-markdown id="questions">
<textarea data-template>
# Questions?
* Read [The Internals of Apache Kafka](https://books.japila.pl/kafka-internals/)
* Read [The Internals of Kafka Streams](https://books.japila.pl/kafka-streams-internals)
* Read [The Internals of ksqlDB](https://books.japila.pl/ksqldb-internals/)
* Follow [@jaceklaskowski](https://twitter.com/jaceklaskowski) on twitter (DMs open)
* Upvote [my questions and answers on StackOverflow](http://stackoverflow.com/users/1305344/jacek-laskowski)
* Contact me at **[email protected]**
</textarea>
</section>
</div>
</div>
<script src="reveal5/dist/reveal.js"></script>
<script src="reveal5/plugin/notes/notes.js"></script>
<script src="reveal5/plugin/markdown/markdown.js"></script>
<script src="reveal5/plugin/highlight/highlight.js"></script>
<script src="reveal5/plugin/zoom/zoom.js"></script>
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#dependencies
Reveal.initialize({
hash: true,
pdf: true,
slideNumber: 'c/t',
showSlideNumber: 'speaker',
// Learn about plugins: https://revealjs.com/plugins/
plugins: [RevealMarkdown, RevealHighlight, RevealNotes, RevealZoom]
});
</script>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-45999426-3', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>