Тёмный

Kafka Tutorial - Node.js Producer & Consumer 

Kris Foster
Подписаться 10 тыс.
Просмотров 69 тыс.
50% 1

Learn how to create a kafka producer & consumer using node.js.
We will be running apache kafka in a docker container. We'll create a producer & consumer using node.js which will read & write events to the stream. This is useful when building event driven systems.
Check out the code on Github: github.com/kriscfoster/node-k...
node-rdkafka - www.npmjs.com/package/node-rd...
avsc (for serialization & de-serialization) - www.npmjs.com/package/avsc
Don't forget to Subscribe here: / @krisfoster1

Наука

Опубликовано:

 

30 апр 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 69   
@nishanthanr605
@nishanthanr605 2 года назад
no annoying music no extra talks. very clear content
@CodeCraftsman
@CodeCraftsman 3 года назад
This is awesome man! I was looking for short and crisp explanation of Kafka! You nailed it!
@objectObject212
@objectObject212 2 года назад
Great tutorial, exactly what I was looking for!
@JosuaLeonard
@JosuaLeonard 3 года назад
Thank you Kris! Really clear and straightforward explanation. 🔥
@TheCouncellor7
@TheCouncellor7 3 года назад
Thanks Kris, what a fantastic clear instructions and clean code, wonderful to watch, thanks again for sharing your time and your knowledge, much appreciated
@pankaj_9998
@pankaj_9998 3 года назад
Thank you so much. Great explaination. Can you do a simple microservices project in nodejs with kafka being used for async communication among the services. That would be great.
@burtreynolds111
@burtreynolds111 3 года назад
Awesome video Kris!! So helpful.
@andreassef3656
@andreassef3656 2 года назад
Thank you for this content, it help me so much to understand how kafka works!
@kal_node
@kal_node Год назад
I found it quite explanatory and helpful, thanks!
@NIKOLAZ56
@NIKOLAZ56 2 года назад
impeccable way of explaining how kaftka works
@muratasarslan2359
@muratasarslan2359 Год назад
Thank you Kris, very clear & helpful.
@MegaJagveer
@MegaJagveer 3 года назад
Incredible video with very clear steps and instructions. Looking forward to more stuff!
@KrisFoster1
@KrisFoster1 3 года назад
Thank you @Jagveer Singh!
@fraewn2617
@fraewn2617 2 года назад
Great tutorial, thank you!
@amirmohammadmirzaeirad3
@amirmohammadmirzaeirad3 5 месяцев назад
Thanks man, great tutorial for those who are just getting started with kafka with nodejs.
@mohammadpartovi1813
@mohammadpartovi1813 11 месяцев назад
This was fantastic. Great explanation. Thank you very much for sharing your knowledge.
@raviparashanaboina4644
@raviparashanaboina4644 Год назад
Thank you So much it is one of the best tutorial for producer and consumer great work!
@surajjoshi5503
@surajjoshi5503 Год назад
Great Explanation
@ayushpgupta5755
@ayushpgupta5755 3 года назад
Very clearly explained with bare minimum code.
@elad3958
@elad3958 Год назад
I subscribed to your channel after this awesome tutorial
@Cyberspider76
@Cyberspider76 3 года назад
Well done… simple and too the point!
@KrisFoster1
@KrisFoster1 2 года назад
Thank you!
@raymondoyinlola7765
@raymondoyinlola7765 3 года назад
This is really helpful.
@hegeltron
@hegeltron 2 года назад
Thanks Kris!
@babanmalhi6168
@babanmalhi6168 Год назад
Thank you so much. Very very helpful
@ntwariegide5993
@ntwariegide5993 3 года назад
Thanks for this great video
@panjijayasutra1573
@panjijayasutra1573 2 года назад
Very usefull, thankyou verymuch Kris
@sreeananthakannan
@sreeananthakannan 2 года назад
It was the good video to understand about basic of kafka
@ryanhill101
@ryanhill101 2 года назад
Nice video Kris and super easy to follow.
@KrisFoster1
@KrisFoster1 2 года назад
Thank you Ryan, glad you enjoyed!
@imsarvesh_
@imsarvesh_ 2 года назад
Finally I understood Kafka.
@KrisFoster1
@KrisFoster1 2 года назад
Thank you, glad you enjoyed!
@Kreator321RG
@Kreator321RG 2 года назад
Thanks a lot! You are the best))
@AnkitKPunjabi
@AnkitKPunjabi Год назад
Crisp and clear
@thetrooper6
@thetrooper6 Год назад
great demo! thank you!
@KrisFoster1
@KrisFoster1 Год назад
Glad you enjoyed, thank you!
@mahendranath2504
@mahendranath2504 2 года назад
Thank you so much ❤️👍🏼🎉⭐🙏🤛, subscribed and 👍🏼
@karmakiller360
@karmakiller360 2 года назад
Good Job. Thank U
@eternalharmony0
@eternalharmony0 Год назад
Thank you so much.
@vitorsantana2795
@vitorsantana2795 2 года назад
Thanks a lot!!
@atiqbaqi
@atiqbaqi Год назад
great example
@chathurangabandarapc
@chathurangabandarapc 3 года назад
Thanks you very much
@afshinrahmati786
@afshinrahmati786 11 месяцев назад
Thank you ,
@herbertk9266
@herbertk9266 3 года назад
Thanks for sharing
@KrisFoster1
@KrisFoster1 3 года назад
Glad you enjoyed!
@manikjain6048
@manikjain6048 3 года назад
Nice work
@KrisFoster1
@KrisFoster1 3 года назад
Thank you @Manik Jain, glad you enjoyed!
@daesvideo
@daesvideo Год назад
Hi, thank you very much. Can you do another exaple with multiple consumers please?. I tryed but just only one consumer can receibe message. thank you.
@abderrahmane_24m
@abderrahmane_24m 2 года назад
Hello, thank for this tutorial! I'm facing a problem using docker-compose, when producer gets triggered, I'm getting LibrdKafkaError: Local: Broker transport failure, any suggestion?
@K_H-Channel
@K_H-Channel 3 года назад
Hi there, my company has Kafka built in Java. I am looking for a way to automate the events and use assertions to verify the events. Events can be in thousands. Is there a way to automate this using JavaScript/ node js/ Jest/Mocha/Chai or anything else that’s JavaScript? Thank you.
@_slier
@_slier Год назад
so from your demo, kafka is like messaging system like rabbitmq?
@GM-je3zp
@GM-je3zp Год назад
nice tutorial... Kafka container doesnt run for me though and had to get the compose file from an exmaple from cofluetn
@karusalavinaykumar7399
@karusalavinaykumar7399 9 месяцев назад
Thank you for the Tutorial. npm i node-rdkafka is failing for us. Please make a video on how to install the pre-requisites and install node-rdkafka. Thanks.
@kishorrathva4097
@kishorrathva4097 2 года назад
Which Nodejs version are you using ?
@mohamatnasri9619
@mohamatnasri9619 2 года назад
i use type: modules still get same error, so how?
@thong3233
@thong3233 2 года назад
i can't install rdkafka, please help me
@Mvrck44
@Mvrck44 2 года назад
Thanks a lot for this. Quick hint, at the time of writing this comment, the 'npm i' won't work as is: new minor version of node-rdkafka(2.11) is available, need to be updated manually.
@joaovitorsilveira256
@joaovitorsilveira256 2 года назад
Hey man, how did you overcome this problem?
@Mvrck44
@Mvrck44 2 года назад
@@joaovitorsilveira256 after couldn't get neither 'npm ci', nor 'npm i' to work, I installed both dependencies listed in package.json manually, like 'npm i '. This installed node_modules and updated both .json files.
@get_carrot
@get_carrot 5 месяцев назад
like your voice
@lynnegaming7328
@lynnegaming7328 Год назад
can i make it without docker??
@andriizilnyk4927
@andriizilnyk4927 2 года назад
does not wok on node 14.17.5
@navyaraj5316
@navyaraj5316 3 месяца назад
getting error while installing rdkafka 😢 anyone help please
@shivammishra-sj8jo
@shivammishra-sj8jo 2 года назад
Hi Kris i am not able to install node-rdkafka can you help me out ?
@daesvideo
@daesvideo Год назад
Hi, search some Dockerfile with RUN apt intsall cmake, and other tools, that's the good one.
@rules654
@rules654 2 года назад
If in windows and facing issues in creating topic use this command --------> docker exec -it [container_Id] /opt/bitnami/kafka/bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic test you can get the kafka container Id by running ---> docker ps replace [container_Id] with the containerId of the kafka container
@olorundareagnes934
@olorundareagnes934 Год назад
Great tutorial. Thanks a lot!
Далее
TypeScript REST API with NodeJS, Postgres & TypeORM
9:20
🤯 #funny
00:20
Просмотров 2,4 млн
УНИТАЗ В ЛЕСУ?? #shorts
00:24
Просмотров 537 тыс.
Node.js is a serious thing now… (2023)
8:18
Просмотров 632 тыс.
Apache Kafka Crash Course
1:18:06
Просмотров 417 тыс.
Event Driven Programming with GO and Kafka
47:52
Просмотров 8 тыс.
NodeJs Microservices using RabbitMQ (Message Queueing)
40:38
Why do we need Kafka?
15:16
Просмотров 35 тыс.
Про Kafka (основы)
49:23
Просмотров 372 тыс.
Decouple your NestJS code with this technique!
11:37
Просмотров 33 тыс.
Node.js "Event Emitters" Explained
9:50
Просмотров 6 тыс.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Подключил AirPods к Xbox
0:45
Просмотров 26 тыс.