'gcpubsub' => [
'driver' => 'gcpubsub',
'project_id' => env('PUBSUB_PROJECT_ID', 'google-cloud-project-id'), // Google cloud project id
'queue' => env('PUBSUB_QUEUE_DEFAULT', 'default'), // Default queue name corresponding to the gc pubsub topic
'topic_suffix' => env('PUBSUB_TOPIC_SUFFIX', ''),
'subscriber_suffix' => env('PUBSUB_SUBSCRIBER_SUFFIX', ''),
'max_tries' => env('PUBSUB_JOB_MAX_TRIES', 1), // Number of times the job may be attempted.
'retry_delay' => env('PUBSUB_JOB_RETRY_DELAY', 0), // Delay in seconds before retrying a job that has failed
],
php artisan queue:work gcpubsub [--queue=myqueue]
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.