Skip to content

Update README.md with failed jobs configuration #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,17 @@ composer require stackkit/laravel-google-cloud-tasks-queue
QUEUE_CONNECTION=cloudtasks
```

(4) Create a new Cloud Tasks queue using `gcloud`
(4) [Laravel ^8.0 and above only] configure failed tasks to use the `database-uuids` driver in `config/queue.php`

```
'failed' => [
'database' => env('DB_CONNECTION', 'mysql'),
'table' => 'failed_jobs',
'driver' => 'database-uuids',
],
```

(5) Create a new Cloud Tasks queue using `gcloud`

````bash
gcloud tasks queues create [QUEUE_ID]
Expand Down Expand Up @@ -157,4 +167,4 @@ This package verifies that the token is digitally signed by Google. Only Google

More information about OpenID Connect:

https://developers.google.com/identity/protocols/oauth2/openid-connect
https://developers.google.com/identity/protocols/oauth2/openid-connect