~/talk

Simplifying Logs, Events and Streams: Kafka + Rails

Talkat EuRuKo 2016 · 2016-09-23..09-24· [ruby-on-rails, data-engineering]
slides:none on file

Uses Kafka as a durable append‑only stream for Heroku router logs, producing JSON from a Sinatra app with an async producer and connection‑pooled clients; consumers run in consumer groups to aggregate metrics into Redis and a separate JRuby replay consumer replays traffic to staging. Library choice is ruby-kafka (Zendesk) or JRuby Kafka, default delivery is at least once, and small clusters handle hundreds of thousands to millions messages per second. Demo is dockerized and the pattern is used in production (Skylight, Heroku event bus).

AI-written summary · about

  1. 0:00Intro
  2. 0:50Friday Hug
  3. 5:03What is Kafka
  4. 7:04Skylight
  5. 8:51Kafka Terminology
  6. 10:24Kafka Topics
  7. 12:29Kafka Consumer Groups
  8. 16:26JRuby Kafka
  9. 22:18Kafka API
  10. 24:31Demo app
  11. 26:33Router logging
  12. 28:46Kafka producer
  13. 30:58Heroku addon
  14. 31:46Kafka CLI plugin
  15. 32:45Kafka Cluster Inspection
  16. 33:41Kafka Consumer Inspection
  17. 35:23Kafka Replay Consumer
  18. 38:52Kafka Activity Tracking
  19. 39:55Kafka API Event Bus
  20. 40:59Conclusion
~/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.