Removing support for AMQP queues #14883
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Another blocker to upgrade to Symfony 7 is that the new version of https://github.com/symfony/amqp-messenger requires the
ext-amqp
PHP extension. That would mean the Mautic installation would became even more difficult. I posted a question about what to do about it on Slack and got one reply that it should be removed and whoever wants to use RabbitMQ can install it separately.There are other options that can work with Symfony Messenger. The simplest way is to use the Doctrine driver which will work with MySql. Another option is to use Redis that also do not need any extra PHP extensions.
I also found that we have another library for AMQP and removed it as well: https://github.com/php-amqplib/RabbitMqBundle
This PR is a result of executing
composer remove symfony/amqp-messenger php-amqplib/rabbitmq-bundle
which resulted inI didn't find any usages of these libraries in the code.
📋 Steps to test this PR: