~/talk

Practical Pipelines: A Houseplant Alerting System with ksqlDB

Talkat Jfokus 2023 · 2023-02-06..02-08· [data-engineering, iot]
slides:none on file

A home system uses a Raspberry Pi and I²C capacitive soil sensors that can only be addressed four ways, producing moisture and temperature readings every 30 seconds into Apache Kafka; plant metadata and readings use Avro schemas and Schema Registry. ksqlDB joins the stream and a metadata table, applies a six‑hour tumbling window and counts >=120 low readings using emit final to produce at most one alert per plant per window. Alerts flow out via Kafka Connect HTTP sink to Telegram. I²C sensors limited to 4 addresses, 30s readings, 6‑hour window, 120 low counts, Avro schemas + Schema Registry.

AI-written summary · about

  1. 0:00Start
  2. 5:34Paradigm Shift
  3. 6:53Thinking in Events
  4. 9:41Kafka Storage
  5. 13:06Kafka Cluster
  6. 14:39Kafka Replication
  7. 15:48A Practical Pipeline Review
  8. 17:04The Hardware
  9. 18:35The Software
  10. 21:44Writing Data to Kafka
  11. 24:05Processing with Kafka
  12. 27:18Creating a Table
  13. 28:52Creating a Stream
  14. 29:18Stream Enrichment
  15. 33:15Windowing and Computing Alerts
  16. 36:18Alerting with Telegram
  17. 39:09Conversation Handler
  18. 40:16Producer Code
  19. 41:43Updating Sensor Mappings
  20. 42:13Consuming Mapping Updates
  21. 44:33A More Practical Pipeline
  22. 45:16Streaming Data Pipeline
~/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.