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
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Spinning up microservices using Ruby/Kafka
Learn how to create your own ruby applications and link them up using Kafka
Ankita
June 24, 2017
More Decks by Ankita
See All by Ankita
Using and Optimising GraphQl with Rails
ankitagupta12
2
670
Other Decks in Technology
See All in Technology
#エンジニアBooks 30分でわかる 「技術記事を書く技術」 / engineer-books 2026-06-30
jnchito
1
150
そこにあるから地図ができる~位置を示す"モノ"を愉しむ~ - Interface 2026年6月号GPS特集オフ会 / interface_202606_GPS_offline
sakaik
1
140
LiDAR SLAMの実装とセンサ融合 ~Lie群からContinuous-Time LIOまで~
naokiakai
1
240
きのこカンファレンス2026_肩書きを外したとき私は誰か
yamasatimi
1
110
Hatena Engineer Seminar 37 jj1uzh
jj1uzh
0
290
Agile and AI Redmine Japan 2026
hiranabe
4
530
Docker Desktop不要の時代が来る? WSL標準の「wslc」で Linuxコンテナを動かしてみた.
ueponx
0
290
From Prompt Engineering to Loop Engineering
shibuiwilliam
1
290
テスト設計の本質を改めて考えてみる~生成AIを活用する時代だからこそ、作ったテストの説明性を高めよう~
yamasaki696
1
200
5分でわかる Amazon Connect_20260608
hwangbyeonghun
0
140
Zenoh on Zephyr on LiteX
takasehideki
2
140
「勝手に広まる」人気 AI エージェントを爆速で作ろう!(AWS Summit Japan 2026講演資料)
minorun365
PRO
10
2.7k
Featured
See All Featured
Crafting Experiences
bethany
1
190
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
240
Balancing Empowerment & Direction
lara
6
1.2k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
870
Game over? The fight for quality and originality in the time of robots
wayneb77
1
210
Believing is Seeing
oripsolob
1
160
Bash Introduction
62gerente
615
220k
So, you think you're a good person
axbom
PRO
2
2.1k
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