~/talk

Practical Pipelines: A Houseplant Alerting System with ksqlDB

Talkat PyCon Italia 2023 · 2023-05-25..05-28· [iot]
slides:none on file

Builds a live pipeline that reads soil moisture from Raspberry Pi + capacitive I2C sensors every 30 seconds, serializes readings as Avro into Kafka, enriches them with plant metadata written from a Telegram bot, and runs a ksqlDB tumbling 6‑hour window that emits an alert only if a plant has ≥120 low readings in that window. Uses Confluent Cloud (Kafka Connect, schema registry), a compact topic and non‑committing consumer for mappings, and an HTTP sink to send Telegram alerts.

AI-written summary · about

  1. 0:00Intro
  2. 3:10The perfect opportunity
  3. 3:37What is Kafka
  4. 3:58Unpacking
  5. 5:30Events
  6. 6:23Immutability
  7. 11:15Building the Pipeline
  8. 11:27Cloudbased Kafka
  9. 12:19Raspberry Pi
  10. 13:39Data
  11. 16:04Serializing Producer
  12. 17:02Readings into Kafka
  13. 17:38Metadata
  14. 18:06Kafka
  15. 18:58Telegram
  16. 19:35Conversation Handler
  17. 19:47User Input
  18. 19:58Producer Input
  19. 20:10Adding Metadata
  20. 20:40Updating Metadata from Phone
  21. 22:38Stream Processing
  22. 22:49Kafka Options
  23. 23:48Using ksqlDB
  24. 24:29Create table statement
  25. 25:01Define string ID
  26. 25:16Readings
  27. 25:31Join
  28. 26:08emitChanges
  29. 26:26Push vs Pull
  30. 26:36The Goal
  31. 27:52Key Details
  32. 28:06Window
  33. 28:34MidFinal
  34. 31:08Summary
  35. 31:38Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.