A Magento 2 module that provides a command to check if your queue configuration is out of sync with the database.
This module adds a queue:config:status command that validates whether your queue topology configuration matches what's registered in the database. It helps you determine if you need to run setup:upgrade after modifying queue configuration files.
When you modify queue_topology.xml or queue_consumer.xml files in your modules, those changes don't take effect until you run setup:upgrade. This command lets you quickly check if your queue configuration is up to date without running the full upgrade process.
Check queue configuration status:
bin/magento queue:config:statusPossible outputs:
Queue Consumer files are up to date.- No action neededQueue consumer files have changed. Run setup:upgrade command to synchronize queue consumer config.- You need to runsetup:upgrade, exit code 2
- PHP 8.0+
The command compares:
- Queue names defined in your
queue_topology.xmlfiles across all modules - Queue names registered in the
queuedatabase table
If there are queues in your configuration that don't exist in the database, setup:upgrade is required.
- This command reads configuration directly from XML files to bypass cache
- Database may contain legacy queue entries from removed modules - this is expected and not flagged as an issue
- Only detects missing queues, not configuration changes to existing queues