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
170
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
610
Other Decks in Technology
See All in Technology
『FailNet~やらかし共有SNS~』エレベーターピッチ
yokomachi
1
200
LLM翻訳ツールの開発と海外のお客様対応等への社内導入事例
gree_tech
PRO
0
540
バッチ処理で悩むバックエンドエンジニアに捧げるAWS Glue入門
diggymo
3
120
シークレット管理だけじゃない!HashiCorp Vault でデータ暗号化をしよう / Beyond Secret Management! Let's Encrypt Data with HashiCorp Vault
nnstt1
3
220
フィンテック養成勉強会#56
finengine
0
120
開発者を支える Internal Developer Portal のイマとコレカラ / To-day and To-morrow of Internal Developer Portals: Supporting Developers
aoto
PRO
1
320
ヒューリスティック評価を用いたゲームQA実践事例
gree_tech
PRO
0
540
個人CLAUDE.md紹介と設定から学んだこと/introduce-my-claude-md
shibayu36
0
200
Bye-Bye Query Spaghetti: Write Queries You'll Actually Understand Using Pipelined SQL Syntax
tobiaslampertlotum
0
140
Automating Web Accessibility Testing with AI Agents
maminami373
0
1k
RSCの時代にReactとフレームワークの境界を探る
uhyo
9
3k
Obsidian応用活用術
onikun94
1
390
Featured
See All Featured
How GitHub (no longer) Works
holman
315
140k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
800
Producing Creativity
orderedlist
PRO
347
40k
The Pragmatic Product Professional
lauravandoore
36
6.8k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
Agile that works and the tools we love
rasmusluckow
330
21k
Making Projects Easy
brettharned
117
6.4k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Visualization
eitanlees
148
16k
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