Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Spinning up microservices using Ruby/Kafka
Search
Ankita
June 24, 2017
Technology
0
160
Spinning up microservices using Ruby/Kafka
Learn how to create your own ruby applications and link them up using Kafka
Ankita
June 24, 2017
Tweet
Share
More Decks by Ankita
See All by Ankita
Using and Optimising GraphQl with Rails
ankitagupta12
2
590
Other Decks in Technology
See All in Technology
KubeCon + CloudNativeCon Japan 2025 Recap
ren510dev
1
370
敢えて生成AIを使わないマネジメント業務
kzkmaeda
2
370
生成AI時代の開発組織・技術・プロセス 〜 ログラスの挑戦と考察 〜
itohiro73
1
430
Beyond Kaniko: Navigating Unprivileged Container Image Creation
f30
0
130
Claude Code に プロジェクト管理やらせたみた
unson
4
2.3k
React開発にStorybookとCopilotを導入して、爆速でUIを編集・確認する方法
yu_kod
1
230
LangChain Interrupt & LangChain Ambassadors meetingレポート
os1ma
2
290
SmartNewsにおける 1000+ノード規模 K8s基盤 でのコスト最適化 – Spot・Gravitonの大規模導入への挑戦
vsanna2
0
120
ビギナーであり続ける/beginning
ikuodanaka
3
720
ビズリーチが挑む メトリクスを活用した技術的負債の解消 / dev-productivity-con2025
visional_engineering_and_design
3
6.6k
AWS認定を取る中で感じたこと
siromi
1
170
論文紹介:LLMDet (CVPR2025 Highlight)
tattaka
0
310
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
Side Projects
sachag
455
42k
Art, The Web, and Tiny UX
lynnandtonic
299
21k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Code Review Best Practice
trishagee
69
18k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Speed Design
sergeychernyshev
32
1k
Designing for Performance
lara
610
69k
Transcript
Private & Confidential Spinning up microservices using Ruby/Kafka ankitagupta12
Private & Confidential API v/s Event Stream
Private & Confidential An event stream limits the concern of
publishing service to broadcasting a message when an event occurs i.e. fire and forget What is an event stream?
Private & Confidential Kafka is a distributed, partitioned, replicated commit
log service
Private & Confidential Kafka clusters contain topics that can be
subscribed to by multiple consumers
Private & Confidential Producer. Publishes messages Consumer. Subscribes to messages
Topic. Category of messages Key Definitions
Private & Confidential So what does this look like in
practice?
Private & Confidential Pheromone. https://github.com/ankitagupta12/pheromone Pheromone allows easy publishing of
changes (inserts and updates) in ActiveRecord models to topics in Kafka. Setting up your first Producer
Private & Confidential Setting up a Producer using Pheromone
Private & Confidential Karafka. https://github.com/karafka/karafka Karafka is a higher level
abstraction on raw Kafka drivers, providing tools to set up consumers for multiple topics within a single application. Setting up your first Consumer
Private & Confidential Register a consumer and topic
Private & Confidential Add in the consumer logic
Private & Confidential Thank you