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 wish you would do more in detail examples about RabbitMQ with NestJs. Explaining some microservice principles and such.
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
It was simple and neat demonstration of producer and consumer. Thanks you.
You're welcome! Glad I was able to help
Favorite RUclipsr dropped new content! Can't wait to watch it :)
Thank you so much for the support ! Hope you enjoy it.
Thank you. Now I got the understanding of rabbit mq. Keep going
Thanks you very much! It was really good example to follow!
I'm glad! Thanks for the comment
Really great demonstration and explanation! Thank you!
Excellent video brother. Thank you so much.
You're welcome
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 :)
يعطيك العافية، شرحك ممتاز وواضح.
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!
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 !
Thank you for your great content. Keep up the good work (like)
Great video, Thanks a lot!
Thanks man for the video on this stack setup!
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 :)
Nice thank you for sharing the knowledge liked and subscribed
You're welcome :)
you are lifesaver
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
Thank you !!! The video is very helpful
I'm glad! 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
amazing video bro👍🏻
Thank you for saving my day
amazing video bro, keep this great content
Thank you for your constant support ❤️
Thanks great video.
can you please do proper error handling. with some error middleware to handle RabbitMq errors.
Thanks for the suggestion
thank you! amazing video!
I'm glad you found it amazing :)
good video tutorial
thank you bro
You're welcome 🫡
very useful❤
@@thejimbow thanks for your comment !
Thanks bro 👊
You are my superman
😄
awesome!
this video got me through a sprint at work
I'm glad :)
super bro