Drupal is a registered trademark of Dries Buytaert

batch_messenger

3 sites Security covered
View on drupal.org

Batch Messenger is divided into three pieces of functionality:

  • Group Symfony Messenger messages together into a collection. (Base functionality)
  • 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.

Activity

Total releases
6
First release
Jul 2025
Latest release
5 months ago
Release cadence
11 days
Stability
83% stable

Release Timeline

Releases

Version Type Release date
1.0.2 Stable Sep 9, 2025
1.0.1 Stable Sep 5, 2025
1.1.1 Stable Sep 5, 2025
1.1.0 Stable Jul 15, 2025
1.x-dev Dev Jul 15, 2025
1.0.0 Stable Jul 15, 2025