Review main Merged

91452[FEATURE] Align messenger:consume CLI options with Symfony Messenger

Sascha Nowak CR +2 V +2 Hard +317 −101 updated 02/27/26, 17:23

Commit message

Adds support for new worker options to messenger:consume aligning
TYPO3 with Symfony Messenger:
- --limit (-l) receive message count limit
- --failure-limit (-f) stop after N failed messages
- --memory-limit (-m) stop when memory usage exceeds limit
- --time-limit (-t) stop after given seconds
- --bus (-b) dispatch received messages to named bus
- --all consume from all receivers
- --keepalive enable transport keepalive if available

Scheduler integration:
The command can run as a scheduler task for background async processing.

The class StopWorkerOnTimeLimitListener has been removed in favor
of using the native Symfony Messenger component.

Review

  • Code review CR +2 Done
    • Benni Mack +2
    • Garvin Hicking +1
  • Verified V +2 Done
    • Benni Mack +2
    • Garvin Hicking +1
    • core-ci +1 CI

Issues 1

Files 5

Review log 1929

Show 4 earlier messages
  1. Sascha Nowak uploaded patch set 1 11/08/25, 15:46

  2. Sascha Nowak uploaded patch set 2 11/08/25, 15:47

  3. Sascha Nowak uploaded patch set 3 11/08/25, 15:55

  4. Sascha Nowak uploaded patch set 4 11/08/25, 16:14

  1. Sascha Nowak uploaded patch set 5 11/08/25, 16:34

  2. core-ci voted on patch set 5 V +1 11/08/25, 16:42 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88711

  3. core-ci voted on patch set 1 V -1 11/08/25, 16:42 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88707

  4. core-ci voted on patch set 2 V -1 11/08/25, 16:45 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88708

  5. Sascha Nowak updated the commit message in patch set 6 V +1 11/08/25, 16:47

  6. core-ci voted on patch set 3 V -1 11/08/25, 16:48 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88709

  7. core-ci voted on patch set 6 V +1 11/08/25, 16:55 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88712

  8. core-ci voted on patch set 4 V -1 11/08/25, 17:03 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88710

  9. Lina Wolf commented on patch set 6 11/10/25, 05:17

    Breaking-106261-RemoveStopWorkerOnTimeLimitListener.rst:14

    The class has been internal so removing it is probably not a breaking change...
  10. Garvin Hicking commented on patch set 6 11/10/25, 08:35

    Breaking-106261-RemoveStopWorkerOnTimeLimitListener.rst:14 Reply

    I agree with this
  11. Sascha Nowak uploaded patch set 7 V +1 12/06/25, 12:52

  12. Sascha Nowak uploaded patch set 8 12/06/25, 12:59

  13. core-ci voted on patch set 7 V -1 12/06/25, 13:03 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91740

  14. core-ci voted on patch set 8 V +1 12/06/25, 13:07 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91743

  15. Benni Mack uploaded patch set 9 V +1 01/30/26, 18:08

  16. Benni Mack commented on patch set 9 01/30/26, 18:15

    Breaking-106261-RemoveStopWorkerOnTimeLimitListener.rst:14 Reply

    Done
  17. Benni Mack commented on patch set 10 01/30/26, 18:16

    Published edit on patch set 9.
  18. core-ci voted on patch set 9 V +1 01/30/26, 18:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94695

  19. core-ci voted on patch set 10 V +1 01/30/26, 18:27 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94698

  20. Garvin Hicking commented on patch set 10 01/30/26, 21:31

    phpstan-baseline.neon:382

    Can we prevent these baseline entries?
  21. Garvin Hicking commented on patch set 10 02/20/26, 09:54

    phpstan-baseline.neon:382 Reply

    ping? 😊 @typo3@saschanowak.me
  22. Sascha Nowak commented on patch set 10 02/21/26, 15:54

    phpstan-baseline.neon:382 Reply

    Thanks for reminding me. I will have a look at by the end of next week

    Breaking-106261-RemoveStopWorkerOnTimeLimitListener.rst:14 Reply

    Done
  23. Garvin Hicking voted on patch set 10 CR +1 V +1 02/27/26, 17:18

  24. Benni Mack commented on patch set 10 CR +2 V +2 02/27/26, 17:23

    phpstan-baseline.neon:382 Reply

    we have to fix this separately.
  25. Benni Mack merged patch set 11 02/27/26, 17:23