يعطيك العافية، شرحك ممتاز وواضح. I wish you would do more in detail examples about RabbitMQ with NestJs. Explaining some microservice principles and such.
Honestly, I didn't give it much thought while filming the video, but I did deploy them under one repo on github : github.com/charbelh3/NestJs-Microservice-RabbitMQ Hope you find the video beneficial :)
I'm not sure it is supported in NestJs out of the box .. But you can always use "amqplib", which is a rabbitmq library and client (that nest uses behind the scenes) Package: www.npmjs.com/package/amqplib You can create your own exchanges of any type, including fanout (e.g : channel.assertExchange("exchange-name", "fanout", {...options}) (amqp-node.github.io/amqplib/channel_api.html#channel_assertExchange) I have a video where we create our own rabbitMQ client that uses amqplib in Node (ruclips.net/video/igaVS0S1hA4/видео.htmlsi=SlVhAcNKF3sQIIz8). This video will support you in creating your own rabbitmq implementation using that package. You just have to replace the exchange type with "fanout" and make any necessary changes! I wish you good luck !
Yes, as long as you're connecting your microservice project (the consumer) to the same rabbitMQ server, and listen on the queue, you will receive the messages successfully
Favorite RUclipsr dropped new content! Can't wait to watch it :)
Thank you so much for the support ! Hope you enjoy it.
It was simple and neat demonstration of producer and consumer. Thanks you.
You're welcome! Glad I was able to help
Thanks you very much! It was really good example to follow!
I'm glad! Thanks for the comment
Thank you. Now I got the understanding of rabbit mq. Keep going
Excellent video brother. Thank you so much.
You're welcome
Really great demonstration and explanation! Thank you!
Great video, Thanks a lot!
amazing video bro👍🏻
Thanks man for the video on this stack setup!
Thank you !!! The video is very helpful
I'm glad! Thanks for your comment
يعطيك العافية، شرحك ممتاز وواضح.
I wish you would do more in detail examples about RabbitMQ with NestJs. Explaining some microservice principles and such.
Thanks for the feedback ! And noted!
Nice thank you for sharing the knowledge liked and subscribed
You're welcome :)
Thank you for saving my day
Thank you for your great content. Keep up the good work (like)
Thanks great video.
thank you! amazing video!
I'm glad you found it amazing :)
amazing video bro, keep this great content
Thank you for your constant support ❤️
very useful❤
@@thejimbow thanks for your comment !
You are first who have separated files nice job keep working
Can u build one big nestjs microservices app with rabbitmq ,redis ngnix ,docker
Thank you for the suggestion
It just arrived in time, thank you for the share, could you please clarify why did not you use monorepo?
Honestly, I didn't give it much thought while filming the video, but I did deploy them under one repo on github : github.com/charbelh3/NestJs-Microservice-RabbitMQ
Hope you find the video beneficial :)
Thanks bro 👊
Amazing thanks bro!
Which keyboard do u use bro, sounds like music from heaven)
You're welcome !
Keyboard is XPG infarex K20. It does sound satisfying :)
thank you bro
You're welcome 🫡
awesome!
this video got me through a sprint at work
I'm glad :)
You are my superman
😄
Thanks for your video. Do you know how to implement fanout exchange with Nest.js ?
I can't find any documentation about this implement.
I'm not sure it is supported in NestJs out of the box .. But you can always use "amqplib", which is a rabbitmq library and client (that nest uses behind the scenes)
Package: www.npmjs.com/package/amqplib
You can create your own exchanges of any type, including fanout (e.g : channel.assertExchange("exchange-name", "fanout", {...options}) (amqp-node.github.io/amqplib/channel_api.html#channel_assertExchange)
I have a video where we create our own rabbitMQ client that uses amqplib in Node (ruclips.net/video/igaVS0S1hA4/видео.htmlsi=SlVhAcNKF3sQIIz8). This video will support you in creating your own rabbitmq implementation using that package. You just have to replace the exchange type with "fanout" and make any necessary changes!
I wish you good luck !
Also if my consumer is a seperate nestjs application running on a different port will this still workout
Yes, as long as you're connecting your microservice project (the consumer) to the same rabbitMQ server, and listen on the queue, you will receive the messages successfully
super bro
can you please do proper error handling. with some error middleware to handle RabbitMq errors.
Thanks for the suggestion
How to reject a message from a pattern event forcibly and send back to the channel
just a little bit learning not good fit they skipping the main points
What do you mean ?
Bhai hindi mai bna leta to kya jata yll