Chapters
27 Chapters
|
16:38:22
|
This course is archived!
Login to bookmark this video
-
This Video
Login or register to download the video!
Login or register to download the video!
-
Subtitles
Login or register to download the subtitles!
Login or register to download the subtitles!
-
Course Script
Login or register to download the script!
Login or register to download the script!
05.
Symfony Messenger: 6 months already and more to come
Scroll down to the script below, click on any sentence (including terminal blocks) to jump to that spot in the video!
Subscribe to jump to this part in the video!
4 Comments
Hello Guys, I was wondering if you have every tried to setup a combination of Symfony 4 messenger, php-enqueue, AWS SQS & SNS. I am using a load balancer across a few systems, and wanted the messages to go out and come back in so they would be distributed. I have setup pieces of this, but I am missing the "special sauce" and wanted your take. I put some more info here: https://stackoverflow.com/q...
Hey Skylar!
Funny you ask - I'm working a lot right now to get a few of the "transport" things better - I hope we'll have SQS sometime soon in core Symfony, but not in time to help you, unfortunately :(.
So, you're right that everything will be handled in the
resolve:ENQUEUE_DSN. And you're going to need to do some digging to figure out what's going wrong. I'll give you a few pieces of code to put var_dump/die into, to see where config is being lost:https://github.com/php-enqueue/messenger-adapter/blob/master/QueueInteropTransportFactory.php#L81 - this part is responsible for parsing the DSN
https://github.com/php-enqueue/messenger-adapter/blob/master/QueueInteropTransport.php#L106 - this part is responsible for sending data to SQS. Well, it starts the process - there's nothing specific to SQS here
https://github.com/php-enqueue/enqueue-dev/blob/master/pkg/sqs/SqsProducer.php#L36 - this is eventually called by the above and sends the message
Let me know if that helps! This stuff is still too hard with Messenger, and while Enqueue is great, it creates too many layers.
Cheers!
Waiting for a course on symfony messenger like eating day to day.
Hey Jose carlos C.
Thanks for your suggestion. At the moment we don't have plans for it, but we always take in consideration what our users wants to watch :)
Cheers!
"Houston: no signs of life"
Start the conversation!