Documentation is wrong / confusing.

Created on 27 November 2023, about 1 year ago
Updated 4 December 2023, about 1 year ago

The current line in the documentation on how to setup a single worker as an DeadLetterDatabaseQueue is incorrect and a bit confusing for less technical people.

There is no service in Drupal named 'wmsubscription_dead_letter_queue.queue.database';

I would suggest to change the following :

To enable dead letter queue for a specific queue instead, add the following to settings.php
```php
$settings['queue_service_[QUEUE_ID]'] = 'wmsubscription_dead_letter_queue.queue.database';
```

into

To enable dead letter queue for a specific queue instead, add the following to settings.php
Replace QUEUE_ID with the actual name of your queue worker.
```php
$settings['queue_service_QUEUE_ID'] = 'dead_letter_queue.queue.database';
```

and maybe add a simple example of setting it to a single core queue worker.

For example the core thumbnail downloader.

```php
$settings['queue_service_media_entity_thumbnail'] = 'dead_letter_queue.queue.database';
```

I have added a simple PHPStorm DIFF patch reflecting the changes above.

Specified the version for this patch to 1.1.0, but it actually applies to 1.x.x as the readme is exactly the same in both versions.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Documentation

Created by

πŸ‡³πŸ‡±Netherlands renΓ© bakx Netherlands

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024