NestJs Microservices with RabbitMQ

Поділитися
Вставка
  • Опубліковано 1 жов 2024

КОМЕНТАРІ • 55

  • @dashaxedit
    @dashaxedit 3 місяці тому +1

    Thank you. Now I got the understanding of rabbit mq. Keep going

  • @minhhieple6483
    @minhhieple6483 3 місяці тому

    Thanks for your video. Do you know how to implement fanout exchange with Nest.js ?
    I can't find any documentation about this implement.

    • @Computerix
      @Computerix  2 місяці тому +1

      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 (ua-cam.com/video/igaVS0S1hA4/v-deo.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 !

  • @leviiacc
    @leviiacc 11 днів тому

    amazing video bro👍🏻

  • @faizanrasool9241
    @faizanrasool9241 3 місяці тому

    just a little bit learning not good fit they skipping the main points

  • @dvsshashank8074
    @dvsshashank8074 6 місяців тому

    How to reject a message from a pattern event forcibly and send back to the channel

  • @denisvolper9786
    @denisvolper9786 3 місяці тому

    Really great demonstration and explanation! Thank you!

  • @yerkebulanzhaukenov138
    @yerkebulanzhaukenov138 3 місяці тому

    Amazing thanks bro!
    Which keyboard do u use bro, sounds like music from heaven)

    • @Computerix
      @Computerix  3 місяці тому +1

      You're welcome !
      Keyboard is XPG infarex K20. It does sound satisfying :)

  • @mohad12211
    @mohad12211 3 місяці тому

    يعطيك العافية، شرحك ممتاز وواضح.
    I wish you would do more in detail examples about RabbitMQ with NestJs. Explaining some microservice principles and such.

    • @Computerix
      @Computerix  2 місяці тому

      Thanks for the feedback ! And noted!

  • @dvsshashank8074
    @dvsshashank8074 6 місяців тому

    can you please do proper error handling. with some error middleware to handle RabbitMq errors.

    • @Computerix
      @Computerix  6 місяців тому

      Thanks for the suggestion

  • @quang.luu.179
    @quang.luu.179 5 місяців тому

    Thank you for your great content. Keep up the good work (like)

  • @JureJukić
    @JureJukić 6 місяців тому

    You are first who have separated files nice job keep working
    Can u build one big nestjs microservices app with rabbitmq ,redis ngnix ,docker

    • @Computerix
      @Computerix  6 місяців тому +1

      Thank you for the suggestion

  • @thesunnatillo
    @thesunnatillo 23 дні тому

    thank you bro

  • @sakthipraveen18
    @sakthipraveen18 Місяць тому

    It was simple and neat demonstration of producer and consumer. Thanks you.

    • @Computerix
      @Computerix  Місяць тому

      You're welcome! Glad I was able to help

  • @AamirpalSehmi-sf4rc
    @AamirpalSehmi-sf4rc 2 місяці тому

    Thanks man for the video on this stack setup!

  • @zackinfos5933
    @zackinfos5933 6 місяців тому

    It just arrived in time, thank you for the share, could you please clarify why did not you use monorepo?

    • @Computerix
      @Computerix  6 місяців тому +1

      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 :)

  • @dvsshashank8074
    @dvsshashank8074 6 місяців тому

    Also if my consumer is a seperate nestjs application running on a different port will this still workout

    • @Computerix
      @Computerix  6 місяців тому

      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

  • @thejimbow
    @thejimbow Місяць тому

    very useful❤

    • @Computerix
      @Computerix  Місяць тому

      @@thejimbow thanks for your comment !

  • @mohammadsubhan1524
    @mohammadsubhan1524 3 місяці тому

    Thanks bro 👊

  • @mahendranath2504
    @mahendranath2504 6 місяців тому

    Nice thank you for sharing the knowledge liked and subscribed

  • @ThuongNguyen-zz1cc
    @ThuongNguyen-zz1cc 4 місяці тому

    Thank you for saving my day

  • @hassanmhassan5500
    @hassanmhassan5500 5 місяців тому

    amazing video bro, keep this great content

    • @Computerix
      @Computerix  5 місяців тому

      Thank you for your constant support ❤️

  • @juststudying1019
    @juststudying1019 6 місяців тому

    Thanks great video.

  • @ВікаДеркач-ъ8э
    @ВікаДеркач-ъ8э Місяць тому

    Thank you !!! The video is very helpful

    • @Computerix
      @Computerix  Місяць тому

      I'm glad! Thanks for your comment

  • @vb2037
    @vb2037 4 місяці тому

    super bro

  • @shygrammer
    @shygrammer Місяць тому

    awesome!

    • @shygrammer
      @shygrammer Місяць тому

      this video got me through a sprint at work

    • @Computerix
      @Computerix  Місяць тому

      I'm glad :)

  • @Naya-ss7vs
    @Naya-ss7vs 6 місяців тому

    Favorite UA-camr dropped new content! Can't wait to watch it :)

    • @Computerix
      @Computerix  6 місяців тому

      Thank you so much for the support ! Hope you enjoy it.

  • @dvsshashank8074
    @dvsshashank8074 6 місяців тому

    Excellent video brother. Thank you so much.

  • @jagajaga6908
    @jagajaga6908 5 місяців тому

    thank you! amazing video!

    • @Computerix
      @Computerix  5 місяців тому

      I'm glad you found it amazing :)

  • @BaoTran-wv3nn
    @BaoTran-wv3nn 4 місяці тому

    You are my superman