From ksqlDB with Love: Detecting 007’s presence with a dash of machine learning, Hans-Peter Grahsl, Technical Trainer at NETCONOMY
https://www.meetup.com/Berlin-Apache-Kafka-Meetup-by-Confluent/events/271635420/
21. KSQL ➔ originally the [T] only
@hpgrahsl | #ConfluentVUG #ksqlDB #ApacheKafka | 2020-07-16 21
22. What if I told you it's as
easy to build a
STREAMING app
as it is to build a
CRUD app?
@hpgrahsl | #ConfluentVUG #ksqlDB #ApacheKafka | 2020-07-16 22
33. Instead, only try to realize
the truth... ksqlDB is
NO DATABASE
as we know it.
@hpgrahsl | #ConfluentVUG #ksqlDB #ApacheKafka | 2020-07-16 33
34. Data Concepts in ksqlDB
STREAM
‣ immutable append-only sequence
‣ captures events representing a series of facts
@hpgrahsl | #ConfluentVUG #ksqlDB #ApacheKafka | 2020-07-16 34
35. Data Concepts in ksqlDB
@hpgrahsl | #ConfluentVUG #ksqlDB #ApacheKafka | 2020-07-16 35
36. Data Concepts in ksqlDB
TABLE
‣ mutable collection of events
‣ holds the last known value for each key
‣ also result from stateful operations
@hpgrahsl | #ConfluentVUG #ksqlDB #ApacheKafka | 2020-07-16 36
37. Data Concepts in ksqlDB
@hpgrahsl | #ConfluentVUG #ksqlDB #ApacheKafka | 2020-07-16 37
38. Data Concepts in ksqlDB
@hpgrahsl | #ConfluentVUG #ksqlDB #ApacheKafka | 2020-07-16 38
39. ksqlDB: PUSH Queries
‣ act as subscription to query results
‣ fit asynchronous & reactive data flows
‣ run indefinitely
‣ new data causes continuous updates
@hpgrahsl | #ConfluentVUG #ksqlDB #ApacheKafka | 2020-07-16 39
58. Criteria 3: ML Integration Paths
‣ call fully-managed ML services (external)
‣ run your own model server (co-located)
‣ package home-brewed model into UDF (embedded)
‣ completely separated: integrate ML results via Connectors
@hpgrahsl | #ConfluentVUG #ksqlDB #ApacheKafka | 2020-07-16 58
62. Unfortunately, no one can
be told what ksqlDB
is...You have to TRY IT
for yourselves!
https://ksqldb.io
@hpgrahsl | #ConfluentVUG #ksqlDB #ApacheKafka | 2020-07-16 62