Event-driven Microservices with Node.js, Kafka & Conduktor
Вставка
- Опубліковано 3 лип 2024
- Repository: github.com/TomDoesTech/event-...
Event-driven architecture uses events to communicate and trigger actions across services. A popular, battle-tested tool for producing and consuming messages is Kafka.
In this video we are going to learn how to build a consumer and producer into your Node.js applications, as well as the tools required for local development and working with Kafka in production.
This video is sponsored by Conduktor, a suit of popular tools for working with Conduktor locally and in production. www.conduktor.io/get-started
0:00 Into
0:47 What are we building?
3:54 Setting up Kafka & Conduktor
9:00 Produce a kafka topic in Node.js
19:02 Consume a Kafka topic in Node.js
🌎 Follow me here:
Discord: / discord
Twitter: / tomdoes_tech
Facebook: / tomdoestech
Instagram: / tomdoestech
TikTok: / tomdoes_tech
☕ Buy me a coffee: www.buymeacoffee.com/tomn - Розваги
Thanks for saying "No one knows what zookeeper does" as a beginner i am now motivated and will watch more of your videos
In case someone wants to know about ZooKeeper. In simple terms it's a service that manages distributed systems. Zookeeper verifies if all nodes are active of not. In case if someone goes down..replace it with new node or in case master node goes down electing a new master. These are common problems with any large scale distributed system which ZooKeeper takes care of.
Can it be compared to k8s
You know I have been waiting for this video since I saw the GitHub repo.
Thank you
Brilliant! Great to see your video after many days
Great video. Very well structured and explained. You are doing better and better
Excellent tutorial. Thank you.
Great video.. Very well structure and explained
very useful tutorial, thanks a lot!!!
great guy tom!!! merry xmas and a happy new year in advance
"we're gonna run zookeeper, nobody knows what it does..." hahahahhahahha love it! :D
Great video. have been looking for a well structured and explained tutorial on kafka . Pls can you do a tutorial with react-redux toolkit using typescript
Hi Tom, is there a chance that you make a nodejs-kafka multi-part series? There's a big shortage of those videos on the internet. Cheers.
This channel helped me to become a better professional developer. Thanks .
Great to hear!
Great video. Though i am more interested in knowing, which extension you have used for code suggestion. it is really cool. Can you pls tell the name?
Great content got yourself a sub. Wondering what is the advantage of kafka to rabbitmq
I've never used RabbitMQ
when user request using REST api, i produce message and consumer got that message now when consumed message execution there is two case one is success or error that status i want to return requested user how to achieve this.? is producer can know about this.?
How to manage rollback mechanism.? for example if my 1st service have update some data after update completed based on 2nd service add some data, if 2nd service failed i want to rollback 1st service execution, how i can achive multiple micro-service in nodejs.?
I don't know if I understand your question but you don't need rollbacks with kafka. the delivery is guaranteed