Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
690
Other Decks in Technology
See All in Technology
aws-iot-platform-architecture-use-cases.pdf
ma2shita
0
240
山手線を徒歩で一周してわかった、 位置情報アプリは「足」が最強のデバッガー
hinakko
0
160
10Xに技術的負債をもたらした「2つの境界の歪み」その構造と解消への営み
10xinc
0
2k
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
2k
AI に書かせたその API、 “信頼” できますか?
nagix
0
120
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
5
1.7k
Genieを崇めよ
kameitomohiro
0
160
目の前の楽しいが人生を変える - コミュニティの螺旋の歩き方と楽しむコツ / change your life
soudai
PRO
5
630
「守り」で活用するオンデバイスLLM 〜写ってはいけないを総力戦で防ぐ〜 / iOSDC Japan 2026
nakamuuu
0
170
TinyGo 開発サイクルを高速化する:Go で作るエミュレータ入門
zozotech
PRO
1
740
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
3
510
30座EKS, 180次升級淬煉的EKS Upgrade Skill 的歷程
eric8230
0
170
Featured
See All Featured
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1k
Product Roadmaps are Hard
iamctodd
55
13k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
240
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
350
Abbi's Birthday
coloredviolet
4
10k
The Spectacular Lies of Maps
axbom
PRO
1
990
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
A designer walks into a library…
pauljervisheath
211
25k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
520
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
230
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