Symfony Messenger plus RabbitMQ

Поделиться
HTML-код
  • Опубликовано: 6 окт 2020
  • ℹ In this recording I demonstrate how to set up an asynchronous queue messaging system using Symfony and RabbitMQ.
    🆓 Join garyclarke.tech for course DISCOUNTS and a FREE Docker + PHP course (worth $49)
    www.garyclarke.tech
    👇Follow me on Social Media:
    Twitter: / garyclarketech
    Linkedin: / garyclarketech
    💕Show support:
    www.paypal.com/donate/?hosted...
  • НаукаНаука

Комментарии • 43

  • @auras97
    @auras97 3 года назад +8

    Sir I really want to thank you for the effort. Your channel really has some videos that are well done and informative. And you way of explaining and doing things is easy to follow. Kudos

  • @RafaelMansilha
    @RafaelMansilha Год назад +2

    Thanks, this was exactly what I was looking for! In just 11 minutes! ☺

  • @CaimAstraea
    @CaimAstraea 2 года назад +1

    Thanks. Learned something new :) So far the database queue with the jms/job-queue-bundle been serving us well :) Might not be the latest and fanciest tech but gets the job done.

  • @vrushalrt
    @vrushalrt 2 года назад +1

    This tutorial went straight into my head...Thanks a lot 👍

  • @denisov1985
    @denisov1985 Год назад

    Thank you! Great work.

  • @dannorcott773
    @dannorcott773 Год назад

    Helpful video, thanks Gary!

  • @urbanofilho74
    @urbanofilho74 2 года назад

    Good lesson

  • @cradleofkaschenko2057
    @cradleofkaschenko2057 3 года назад

    Thank you very-very much!

  • @aleksandrbakharev5199
    @aleksandrbakharev5199 2 года назад

    Big thanks for tutorial!

  • @memkowaty
    @memkowaty 3 года назад +1

    that's very useful!

  • @webdev723
    @webdev723 3 года назад +1

    Thank you !

  • @user-ch9wx8vt1l
    @user-ch9wx8vt1l 8 месяцев назад +1

    Firstly, thank you for sharing your knowledge. I would like to know how symfony identifies Rabbit if we do not configure the RABBITMQ_DSN variable in .env file,

  • @sergemaminiaina252
    @sergemaminiaina252 3 года назад

    Great video ^-^

  • @adrianfgutierrez2836
    @adrianfgutierrez2836 3 года назад +1

    Good job

  • @SaiNagendra
    @SaiNagendra 3 года назад +1

    Hi, Bro excellent.. What was the extension you are using to create PHP Class?

    • @GaryClarkeTech
      @GaryClarkeTech  3 года назад

      I don't use any extensions or plugins to create classes...it's just part of PHPStorm cmd+N on mac ctrl+N on windows / linux

  • @ilyaskereibayev586
    @ilyaskereibayev586 3 года назад

    Hi Gary!
    Thank you very much for your effort, really useful video. I have 1 question though, how Symfony understands where to get RABBITMQ_DSN env variable? we did not define it in .env file

    • @GaryClarkeTech
      @GaryClarkeTech  3 года назад +3

      Thanks Ilyas..I appreciate it. When you use the local Symfony server, you get Docker integration. You can read about how the environment variables map to supported services here:
      symfony.com/doc/current/setup/symfony_server.html#docker-integration

    • @ilyaskereibayev586
      @ilyaskereibayev586 3 года назад +1

      I got it now, thanks

  • @onparallel7953
    @onparallel7953 2 года назад +1

    Hello Gary
    Thank you for the video super helpful as usual. I am trying to use docker-compose for this but it is failing with ---> You cannot use the "Symfony\Component\Messenger\Bridge\Amqp\Transport\Connection" as the "amqp" extension is not installed.

    • @GaryClarkeTech
      @GaryClarkeTech  2 года назад +1

      Yes you will need to have the amqp php extension installed.

    • @onparallel7953
      @onparallel7953 2 года назад

      @@GaryClarkeTech struggling to install in Docker for some reason is not happy with it

  • @maruanboukhriss6353
    @maruanboukhriss6353 2 года назад

    Is posible see the list_queues inside symfony ¿?

  • @truegotha
    @truegotha Год назад

    How to see .env file with rabbitmq connection? I get Could not connect to the AMQP server. Please verify the provided DSN

  • @fitter2boss72
    @fitter2boss72 2 года назад

    Do you have a video, where uses async tasks, but you can see response? (in your example : "email sent" ). Thank you.

    • @GaryClarkeTech
      @GaryClarkeTech  2 года назад +1

      Not atm..this is the only async video I've recorded so far...maybe in the future.

    • @fitter2boss72
      @fitter2boss72 2 года назад

      @@GaryClarkeTech Thank you.

  • @jiawenchen9928
    @jiawenchen9928 3 года назад

    tried out mac, not working, seen error --> You cannot use the "Symfony\Component\Messenger\Bridge\Amqp\Transport\Connection" as the "amqp" extension is not installed.
    question 1 is how you configure the .env file to connect with rabbitmq container?

    • @GaryClarkeTech
      @GaryClarkeTech  3 года назад

      You need to install the amqp php extension. Here's a link to how you can do it on mac using homebrew, which is how I did it:
      stackoverflow.com/questions/51818515/installing-amqp-on-mac-with-brew

    • @shikamaru676
      @shikamaru676 3 года назад

      It think this counts as cheating, but you can also use the --ignore-platform-reqs flag, it is not recommended tho', but there are use cases when it can be usefull, like when you develop on a container, but want your IDE to index the library or install dependencies in multistage Docker builds.

    • @GaryClarkeTech
      @GaryClarkeTech  3 года назад

      @@shikamaru676 Nice tip...thanks!

  • @nabeeltahir6013
    @nabeeltahir6013 2 года назад +1

    Make a video how to integrate keyCloak on symfony.