Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Batch Messenger

Security covered Under active development 3 sites

Part of the Batch ecosystem · 8 projects

This module allows Drupal to use Symfony Messenger to process batch operations, grouping messages and providing a user interface to track their progress. It can replace the built-in Drupal Batch API, improving performance through parallel processing and allowing resources to be managed more efficiently.

Batch Messenger is divided into three pieces of functionality:

  • Group Symfony Messenger messages together into a collection. (Base functionality).
    Simply add a CollectionItem stamp with a shared ID.
  • Expose a UI of progress of each collection. (Optional, enabled by default)
  • Intercept Drupal Batch API calls (batch_set()) and replace with Messenger internals. (Optional, enabled by default)

This allows you to adopt Symfony Messenger, while providing a nice UI for the user. Performance of operations improve dramatically, as they may be worked in parallel, instead of single threaded. Message resources (CPU/memory, etc) can be increased in a worker, while granting the possibility to reduce web thread resources since they don't need to scale up for Batch API operations.

When the legacy Batch API is used (\batch_set), the UI is retained, and we provide status updates to the user despite operations not actually running in the web requests.

The module is a drop-in replacement for Batch API. If you encounter issues, uninstalling the module will return existing behavior. Though, any in-progress batches will be deleted.

More information can be found in the README.

Drupal 11 · not 10

Ask your assistant about Batch Messenger

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Jul 2025
Latest release
4 months ago
Releases (12 mo)
1 ▼ from 6
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.1.2 Stable 11 May 27, 2026
1.0.2 Stable 10–11 Sep 9, 2025
1.0.1 Stable 10–11 Sep 5, 2025
1.1.1 Stable 11 Sep 5, 2025
1.1.0 Stable 11 Jul 15, 2025
1.x-dev Dev 11 Jul 15, 2025
1.0.0 Stable 10–11 Jul 15, 2025