-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
713 lines (589 loc) · 35.2 KB
/
index.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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
<!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>TW | AK3W</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/solarized.css">
<link rel="shortcut icon" type="image/x-icon" href="favicon.png">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/monokai.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:image:src" content="https://kafka.troywest.com/img/ak3w-social.png"/>
<meta name="twitter:site" content="@tw_ltd"/>
<meta name="twitter:title" content="troy-west/apache-kafka-three-ways"/>
<meta name="twitter:description" content="AK3W: Open Source Apache Kafka Workshop. Guided, full day sessions available on request."/>
<meta property="og:image" content="https://kafka.troywest.com/img/ak3w-social.png"/>
<meta property="og:site_name" content="Troy-West"/>
<meta property="og:type" content="object"/>
<meta property="og:title" content="troy-west/apache-kafka-three-ways"/>
<meta property="og:url" content="https://kafka.troywest.com"/>
<meta property="og:description" content="AK3W: Open Source Apache Kafka Workshop. Guided, full day sessions available on request."/>
<!-- Printing and PDF exports -->
<script>
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match(/print-pdf/gi) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName('head')[0].appendChild(link);
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-140259184-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-140259184-2');
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<img data-src="img/ak3w.png" style="background:none; border:none; box-shadow:none; width: 50%">
<div style="font-size: 18px; line-height: 1.4em;">
Contact <a href="http://www.troywest.com/workshops">Troy-West</a> to arrange a workshop day.
</div>
<br/>
<a href="#" class="navigate-right"><i class="fas fa-chevron-right"></i> Start</a>
<br/>
<br/>
<div style="font-size: 12px; line-height: 1.4em;">
Copyright © 2019 Troy-West, Pty Ltd. <a
href="https://github.com/troy-west/apache-kafka-three-ways">Open Sourced</a> under the MIT
License.
</div>
</section>
<section data-background="img/title.png" data-background-size="contain" data-markdown
style="padding-top: 150px;">
<textarea data-template>
### Prerequisites
* Java 11+ or Clojure & IDE installed
* [Docker](https://www.docker.com/) & [Docker Compose](https://docs.docker.com/compose/install/) installed
* [troy-west/apache-kafka-cli-tools](https://github.com/troy-west/apache-kafka-cli-tools) cloned
* [troy-west/apache-kafka-number-stations](https://github.com/troy-west/apache-kafka-number-stations) cloned
* [troy-west/apache-kafka-vendor-tools](https://github.com/troy-west/apache-kafka-vendor-tools) cloned
</textarea>
</section>
<section>
<div class="ulist">
<a href="https://www.troywest.com/">
<img alt="Troy-West Logo"
data-src="img/tw-light.png"
style="background:none; border:none; box-shadow:none; width: 30%"></a>
<ul>
<li>Distributed Systems Consultancy</li>
<li>Kafka since 0.8.0 (2013)</li>
<li>Cassandra since 2.0.1 (2013)</li>
<li>Clojure / Data-Oriented</li>
</ul>
</div>
</section>
<section data-background="img/unsplash/sergey-zolkin-21234-unsplash.jpg" data-background-size="contain">
<a style="position: absolute; left: 0; background-color:black;color:white;text-decoration:none;padding:4px 6px;font-family:-apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Ubuntu, Roboto, Noto, "Segoe UI", Arial, sans-serif;font-size:12px;font-weight:bold;line-height:1.2;display:inline-block;border-radius:3px"
href="https://unsplash.com/@szolkin?utm_medium=referral&utm_campaign=photographer-credit&utm_content=creditBadge"
target="_blank" rel="noopener noreferrer"
title="Download free do whatever you want high-resolution photos from Sergey Zolkin"><span
style="display:inline-block;padding:2px 3px"><svg xmlns="http://www.w3.org/2000/svg"
style="height:12px;width:auto;position:relative;vertical-align:middle;top:-2px;fill:white"
viewBox="0 0 32 32"><title>unsplash-logo</title><path
d="M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z"></path></svg></span><span
style="display:inline-block;padding:2px 3px">Sergey Zolkin</span></a>
<h1 style="color:white">Today</h1>
<div style="background-color: gray; opacity: 0.9;"><h3 style="color: white;">Presentations</h3></div>
<div style="background-color: gray; opacity: 0.9;"><h3 style="color: white;">Real Code</h3></div>
<div style="background-color: gray; opacity: 0.9;"><h3 style="color: white;">Vendor Products</h3></div>
<div style="background-color: white; opacity: 0.8;"><a
href="https://github.com/troy-west/apache-kafka-three-ways">Open Sourced under the MIT License.</a>
</div>
</section>
<section data-background="img/unsplash/sergey-zolkin-21234-unsplash.jpg" data-background-size="contain">
<h1 style="color:white">Today</h1>
<div style="background-color: gray; opacity: 0.9;"><h3 style="color: white;">ASK QUESTIONS!</h3></div>
</section>
<section data-background="img/unsplash/adam-griffith-254696-unsplash.jpg" data-background-size="contain">
<a style="position: absolute; left: 0; background-color:black;color:white;text-decoration:none;padding:4px 6px;font-family:-apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Ubuntu, Roboto, Noto, "Segoe UI", Arial, sans-serif;font-size:12px;font-weight:bold;line-height:1.2;display:inline-block;border-radius:3px"
href="https://unsplash.com/@aggriffith?utm_medium=referral&utm_campaign=photographer-credit&utm_content=creditBadge"
target="_blank" rel="noopener noreferrer"
title="Download free do whatever you want high-resolution photos from Adam Griffith"><span
style="display:inline-block;padding:2px 3px">
<svg xmlns="http://www.w3.org/2000/svg"
style="height:12px;width:auto;position:relative;vertical-align:middle;top:-2px;fill:white"
viewBox="0 0 32 32"><title>unsplash-logo</title><path
d="M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z"></path></svg></span><span
style="display:inline-block;padding:2px 3px">Adam Griffith</span></a>
<h1 style="line-height: 0.8; margin-top: 200px; color: white; margin-bottom: 0px;">RULES</h1>
<p style="margin: 0; text-decoration: underline;"><a/href="https://www.recurse.com/social-rules"
style="color: #53bd95;">Recurse Center of NYC</a></p>
</section>
<section>
<img data-src="img/ak3w.png" style="background:none; border:none; box-shadow:none; width: 70%">
</section>
<section data-background="img/way-1.png" data-background-size="contain">
</section>
<section data-background="img/way-2.png" data-background-size="contain">
</section>
<section data-background="img/way-3.png" data-background-size="contain">
</section>
<section data-background="img/way-x.png" data-background-size="contain">
</section>
<section>
<div class="ulist">
<a href="https://www.apache.org/">
<img alt="Apache Software Foundation Logo"
data-src="img/apache-foundation.png"
style="background:none; border:none; box-shadow:none; width: 60%"></a>
<ul>
<li>350+ projects</li>
<li>200M+ lines of code</li>
<li>7000+ committers</li>
<li>All volunteers</li>
</ul>
</div>
</section>
<section data-background="img/kafka.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:" style="padding-top: 150px;">
<textarea data-template>
| Year | Release | Milestone |
| ---- |---------|-----------|
| 2011 | | Open sourced by LinkedIn |
| 2012 | 0.7.0 | First post-incubation release |
| 2016 | 0.10.0 | Kafka Streams |
| 2016 | 0.10.1 | Interactive Queries |
| 2017 | 0.11.0 | Exactly Once Processing |
Note:
* Latest release 2.2.0 on March 22nd 2019
* 34 releases since escaping incubation
</textarea>
</section>
<section data-background="img/title.png" data-background-size="contain" data-markdown
style="padding-top: 150px;">
<textarea data-template>
# Data v Dogma
</textarea>
</section>
<section data-markdown>
<textarea data-template>
### Data Is Not Necessarily
## An Event
</textarea>
</section>
<section data-markdown>
<textarea data-template>
### There is no value in defining systems as:
## Event-Driven / Event-Sourced / CQRS
</textarea>
</section>
<section data-markdown>
<textarea data-template>
### Data Is:
## Mutable or Immutable
</textarea>
</section>
<section data-markdown>
<textarea data-template>
### Data Is:
## Ephemeral or Durable
</textarea>
</section>
<section data-markdown>
<textarea data-template>
### Data Is:
## In-Flight or At-Rest
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Know Your Data
## Know Your Tools
</textarea>
</section>
<section data-background="img/idea-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:" style="padding-top: 150px;">
<textarea data-template>
## Define systems by
# Decisions
</textarea>
</section>
<section data-background="img/trade-off-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:" style="padding-top: 150px;">
<textarea data-template>
## and
# Trade-Offs
</textarea>
</section>
<section data-background="img/idea-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:" style="padding-top: 150px;">
<textarea data-template>
## Key Kafka Decisions:
* High Availability <!-- .element: class="fragment" data-fragment-index="1" -->
* Linear Scalability <!-- .element: class="fragment" data-fragment-index="2" -->
* Near Real-Time <!-- .element: class="fragment" data-fragment-index="3" -->
</textarea>
</section>
<section>
<section data-background="img/way-1.png" data-background-size="contain" style="padding-top: 280px;">
<a href=""><h2><i class="fas fa-chevron-down"></i></h2></a>
</section>
<section data-background="img/unsplash/alain-wong-61678-unsplash.jpg" data-background-size="contain"
data-separator-notes="^Note:">
<a style="position: absolute; left: 0; background-color:black;color:white;text-decoration:none;padding:4px 6px;font-family:-apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Ubuntu, Roboto, Noto, "Segoe UI", Arial, sans-serif;font-size:12px;font-weight:bold;line-height:1.2;display:inline-block;border-radius:3px"
href="https://unsplash.com/@alainwong?utm_medium=referral&utm_campaign=photographer-credit&utm_content=creditBadge"
target="_blank" rel="noopener noreferrer"
title="Download free do whatever you want high-resolution photos from Alain Wong"><span
style="display:inline-block;padding:2px 3px"><svg xmlns="http://www.w3.org/2000/svg"
style="height:12px;width:auto;position:relative;vertical-align:middle;top:-2px;fill:white"
viewBox="0 0 32 32"><title>unsplash-logo</title><path
d="M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z"></path></svg></span><span
style="display:inline-block;padding:2px 3px">Alain Wong</span></a>
<h1 style="color:black">The Log</h1>
<div class="fragment fade-up" style="background-color: white; opacity: 0.8;">
<p>
<a href="https://engineering.linkedin.com/distributed-systems/log-what-every-software-engineer-should-know-about-real-time-datas-unifying"
style="text-decoration: underline">
What every software engineer should know about real-time data's unifying abstraction<br/>
</a>
--Jay Kreps (read this ^^)
</p>
</div>
</section>
<section>
<div class="ulist">
<ul>
<li>Append Only</li>
<li>Sequence of Records</li>
<li>Naturally Immutable</li>
<li>Ordered by Time</li>
<li>ID by Offset</li>
<li>Ubiquitous</li>
</ul>
<a href="https://www.troywest.com/">
<img alt="Log" data-src="img/broker/log.png"
style="margin-left: 20px; background:none; border:none; box-shadow:none; width: 40%"></a>
</div>
</section>
<section>
<img alt="Broker" data-src="img/broker/overview.png"
style="margin: 0; background:none; border:none; box-shadow:none; width: 90%">
<h3 class="fragment">What about High Availability & Linear Scalability?</h3>
</section>
<section data-background="img/idea-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:">
<textarea data-template>
### High Availability
#### To Continue Operating When a Broker Fails
* Replicate the log to multiple brokers
* One broker is the leader, the others are followers
* Consumers and Producers only talk to the leader
* Fail-over to a follower when a leader dies
</textarea>
</section>
<section>
<h3 style="margin-bottom: 0">Replication Factor = 3</h3>
<img class="fragment" alt="Replication" data-src="img/broker/replication.png"
style="margin: 0; background:none; border:none; box-shadow:none; width: 80%">
</section>
<section data-background="img/idea-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:">
<textarea data-template>
### High Availability
* Each Cluster has a single 'Controller' Broker
* The Controller decides replica leaders
* Zookeeper performs controller elections
* Zookeeper stores leadership metadata
</textarea>
</section>
<section data-background="img/trade-off-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:">
<textarea data-template>
* Requires a whole new distributed system (ZK)
</textarea>
</section>
<section data-background="img/idea-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:">
<textarea data-template>
### Linear Scalability
#### To Scale The Volume of Production and Consumption
* Break the log into multiple partitions
* Distribute records to partitions by (optional) key
* Records with the same key go to the same partition
* Unless you change the number of partitions
</textarea>
</section>
<section>
<h3 style="margin-bottom: 0">Partitions = 6</h3>
<img class="fragment" alt="Distribution" data-src="img/broker/distribution.png"
style="margin: 0; background:none; border:none; box-shadow:none; width: 80%">
</section>
<section>
<h3 style="margin-bottom: 0">Partitions = 6</h3>
<img class="fragment" alt="Distribution" data-src="img/broker/modulo.png"
style="margin: 0; background:none; border:none; box-shadow:none; width: 80%">
</section>
<section>
<h3 style="margin-bottom: 0">Topic</h3>
<h5 style="margin-bottom: 0">Partitions = 6, Replication Factor = 3</h5>
<img alt="Cluster" data-src="img/broker/cluster.png"
style="margin: 0; background:none; border:none; box-shadow:none; width: 80%">
</section>
<section data-background="img/idea-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:">
<textarea data-template>
# TOPIC
* A partitioned, replicated, durable log
* Each partition consisting of KeyedMessage records
* Partitions are broken into segments on disk
* Provides a configurable Time To Live (TTL)
* Supports deletion via tombstones and compaction
* Deletes records by key
</textarea>
</section>
<section data-background="img/trade-off-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:">
<textarea data-template>
# TOPIC
* Need to ensure keys are roughly evenly distributed
* Repartitioning redistributes keys among partitions
* Order is only guaranteed within a partition
</textarea>
</section>
<section data-markdown data-separator-notes="^Note:">
<textarea data-template>
# Go Time!
------
#### [https://github.com/troy-west/apache-kafka-cli-tools](https://github.com/troy-west/apache-kafka-cli-tools)
</textarea>
</section>
<section>
<h3 style="margin-bottom: 0">Consumer Groups</h3>
<img class="fragment" alt="Consumer Groups" data-src="img/broker/consumer-groups.png"
style="margin: 0; background:none; border:none; box-shadow:none; width: 80%">
</section>
<section data-background="img/idea-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:">
<textarea data-template>
### n-Partitions Is The Fundamental Unit Of Parallelism
* n Partitions, n+1 Consumers = 1 Idle Consumer
</textarea>
</section>
<section>
<h3 style="margin-bottom: 0">Serdes</h3>
<img class="fragment" alt="Serdes" data-src="img/broker/serdes.png"
style="margin: 0; background:none; border:none; box-shadow:none; width: 80%">
</section>
<section data-markdown data-separator-notes="^Note:">
<textarea data-template>
## Delivery Semantics
* At Least Once
* At Most Once
* Exactly Once
</textarea>
</section>
<section data-markdown data-separator-notes="^Note:">
<textarea data-template>
## Exactly Once
* Idempotent Producers are Identifiable
* Idempotent Producers send ID + batch sequence
* Transactional Producers commit atomically
* Consumers can choose to read committed
------
#### [exactly-once-semantics-are-possible-heres-how-apache-kafka-does-it](https://www.confluent.io/blog/exactly-once-semantics-are-possible-heres-how-apache-kafka-does-it/)
</textarea>
</section>
<section>
<h3 style="margin-bottom: 0">Exactly Once</h3>
<img alt="Consume Tranfsorm Produce" data-src="img/broker/c-t-p.png"
style="margin: 0; background:none; border:none; box-shadow:none; width: 80%">
</section>
<section>
<h3 style="margin-bottom: 0">Recap</h3>
<img alt="Replication" data-src="img/broker/recap.png"
style="margin: 0; background:none; border:none; box-shadow:none; width: 80%">
</section>
</section>
<section data-background="img/idea-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:">
<textarea data-template>
## Checkpoint:
* Understand Kafka Message Broker fundamentals
* Start a Docker-ized 3-node cluster
* Create, list, and describe topics
* Produce and consume topic messages
* Alter topic partition configuration
* Observe the key impact of increasing partitions
* List, describe and alter Consumer Groups
* Reset offsets and re-consume messages
</textarea>
</section>
<section>
<section data-background="img/way-2.png" data-background-size="contain" style="padding-top: 100px;">
<a href=""><h2><i class="fas fa-chevron-down"></i></h2></a>
</section>
<section data-background="img/unsplash/eder-pozo-perez-32852-unsplash.jpg" data-background-size="contain"
data-separator-notes="^Note:">
<a style="position: absolute; left: 0; background-color:black;color:white;text-decoration:none;padding:4px 6px;font-family:-apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Ubuntu, Roboto, Noto, "Segoe UI", Arial, sans-serif;font-size:12px;font-weight:bold;line-height:1.2;display:inline-block;border-radius:3px"
href="https://unsplash.com/@ederpozo?utm_medium=referral&utm_campaign=photographer-credit&utm_content=creditBadge"
target="_blank" rel="noopener noreferrer"
title="Download free do whatever you want high-resolution photos from Eder Pozo Pérez"><span
style="display:inline-block;padding:2px 3px"><svg xmlns="http://www.w3.org/2000/svg"
style="height:12px;width:auto;position:relative;vertical-align:middle;top:-2px;fill:white"
viewBox="0 0 32 32"><title>unsplash-logo</title><path
d="M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z"></path></svg></span><span
style="display:inline-block;padding:2px 3px">Eder Pozo Pérez</span></a>
<h2 style="color:black">Local State & Time Series</h2>
<hr style="border-top: 1px solid black; border-bottom: none;"/>
</section>
<section>
<h3 style="margin-bottom: 0">Processor API (PAPI)</h3>
<img alt="Consume Tranfsorm Produce" data-src="img/compute/papi.png"
style="margin: 0; background:none; border:none; box-shadow:none; width: 40%">
</section>
<section>
<h3 style="margin-bottom: 0">Local State</h3>
<img alt="Consume Tranfsorm Produce" data-src="img/compute/state.png"
style="margin: 0; background:none; border:none; box-shadow:none; width: 70%">
</section>
<section>
<h3 style="margin-bottom: 0">Kafka Streams</h3>
<img alt="Consume Tranfsorm Produce" data-src="img/compute/streams.png"
style="margin: 0; background:none; border:none; box-shadow:none; width: 40%">
</section>
<section data-background="img/unsplash/rayan-almuslem-1302772-unsplash.jpg" data-background-size="contain">
<a style="position: absolute; left: 0; background-color:black;color:white;text-decoration:none;padding:4px 6px;font-family:-apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Ubuntu, Roboto, Noto, "Segoe UI", Arial, sans-serif;font-size:12px;font-weight:bold;line-height:1.2;display:inline-block;border-radius:3px"
href="https://unsplash.com/@rayanmuslem?utm_medium=referral&utm_campaign=photographer-credit&utm_content=creditBadge"
target="_blank" rel="noopener noreferrer"
title="Download free do whatever you want high-resolution photos from Rayan Almuslem"><span
style="display:inline-block;padding:2px 3px"><svg xmlns="http://www.w3.org/2000/svg"
style="height:12px;width:auto;position:relative;vertical-align:middle;top:-2px;fill:white"
viewBox="0 0 32 32"><title>unsplash-logo</title><path
d="M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z"></path></svg></span><span
style="display:inline-block;padding:2px 3px">Rayan Almuslem</span></a>
<div style="background-color: black; opacity: 0.8; margin-top: 450px;">
<a href="https://github.com/troy-west/apache-kafka-number-stations">troy-west/apache-kafka-number-stations</a>
</div>
</section>
</section>
<section data-background="img/idea-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:">
<textarea data-template>
## Checkpoint:
* Loaded over a million messages into Kafka
* Learned the basics of PAPI and Kafka Streams
* Used the TopologyTestRunner to test a topology
* Created and ran streaming compute against Kafka
* Solved the mystery of the Number Stations
* Ran multiple instances of streaming compute
* Visualised partitioning of local state across instances
</textarea>
</section>
<section>
<section data-background="img/way-3.png" data-background-size="contain" style="padding-top: 50px;">
<a href=""><h2><i class="fas fa-chevron-down"></i></h2></a>
</section>
<section data-background="img/unsplash/federica-galli-449563-unsplash.jpg" data-background-size="contain"
data-separator-notes="^Note:">
<a style="position: absolute; left: 0; background-color:black;color:white;text-decoration:none;padding:4px 6px;font-family:-apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Ubuntu, Roboto, Noto, "Segoe UI", Arial, sans-serif;font-size:12px;font-weight:bold;line-height:1.2;display:inline-block;border-radius:3px"
href="https://unsplash.com/@fedechanw?utm_medium=referral&utm_campaign=photographer-credit&utm_content=creditBadge"
target="_blank" rel="noopener noreferrer"
title="Download free do whatever you want high-resolution photos from Federica Galli"><span
style="display:inline-block;padding:2px 3px"><svg xmlns="http://www.w3.org/2000/svg"
style="height:12px;width:auto;position:relative;vertical-align:middle;top:-2px;fill:white"
viewBox="0 0 32 32"><title>unsplash-logo</title><path
d="M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z"></path></svg></span><span
style="display:inline-block;padding:2px 3px">Federica Galli</span></a>
<h1 style="color:black">Interactive Queries</h1>
<hr style="border-top: 1px solid black; border-bottom: none;"/>
</section>
<section>
<h1 style="margin-bottom: 0">Storing State</h1>
<hr/>
<a href="https://www.confluent.io/blog/okay-store-data-apache-kafka/">
Is It OK to Store Data in Kafka? -- Jay Kreps
</a>
</section>
<section>
<h1 style="margin-bottom: 0">Kafka As:</h1>
<hr/>
<ul>
<li>The Golden Store of LOG data? Yes!</li>
<li>The Golden Store of COMPUTED data? Maybe.</li>
</ul>
</section>
</section>
<section data-background="img/idea-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:">
<textarea data-template>
## Checkpoint:
* Understand Interactive Queries + Trade-Offs
</textarea>
</section>
<section>
<section data-background="img/way-x.png" data-background-size="contain" style="padding-top: 50px;">
</section>
<section data-background="img/unsplash/kvistholt-photography-191153-unsplash.jpg"
data-background-size="contain"
data-separator-notes="^Note:">
<div style="background-color: white; opacity: 0.8;"><h2 style="color:black">KSQL & Kafka Connect</h2>
</div>
<hr style="border-top: 1px solid black; border-bottom: none;"/>
<div style="background-color: black; opacity: 0.8;"><a
href="https://github.com/troy-west/apache-kafka-vendor-tools">troy-west/apache-kafka-vendor-tools</a>
</div>
<a style="position: absolute; left: 0; background-color:black;color:white;text-decoration:none;padding:4px 6px;font-family:-apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Ubuntu, Roboto, Noto, "Segoe UI", Arial, sans-serif;font-size:12px;font-weight:bold;line-height:1.2;display:inline-block;border-radius:3px"
href="https://unsplash.com/@freeche?utm_medium=referral&utm_campaign=photographer-credit&utm_content=creditBadge"
target="_blank" rel="noopener noreferrer"
title="Download free do whatever you want high-resolution photos from Kvistholt Photography"><span
style="display:inline-block;padding:2px 3px"><svg xmlns="http://www.w3.org/2000/svg"
style="height:12px;width:auto;position:relative;vertical-align:middle;top:-2px;fill:white"
viewBox="0 0 32 32"><title>unsplash-logo</title><path
d="M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z"></path></svg></span><span
style="display:inline-block;padding:2px 3px">Kvistholt Photography</span></a>
</section>
</section>
<section data-background="img/idea-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:">
<textarea data-template>
## Checkpoint:
* Queried for Number Stations data with KSQL
* Exported topics using Kafka Connect
</textarea>
</section>
<section data-background="img/idea-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:">
<textarea data-template>
## Extension:
* Dead Letter Queues
</textarea>
</section>
<section data-background="img/idea-sml.png" data-background-size="contain" data-markdown
data-separator-notes="^Note:">
<textarea data-template>
## Extension:
* Monitoring & Management
</textarea>
</section>
</div>
</div>
<script src="js/reveal.js"></script>
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#dependencies
Reveal.initialize({
dependencies: [
{src: 'plugin/markdown/marked.js'},
{src: 'plugin/markdown/markdown.js'},
{src: 'plugin/notes/notes.js', async: true},
{src: 'plugin/highlight/highlight.js', async: true}
],
hash: true,
});
</script>
</body>
</html>