Model
PoisonPillCompare
Magento\MessageQueue\Model\PoisonPillCompare
What it does
This class compares poison pill versions to determine if a message queue consumer should continue processing.
Developers use this to check if a consumer is running on the latest version, allowing graceful termination of outdated consumers when configuration changes occur.
It's part of Magento's message queue infrastructure for managing consumer lifecycle.
Public Methods
- isLatestVersion()