-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from myLocalInfluence/feature/pubsub-driver#8
feat: Add PubSub Driver
- Loading branch information
Showing
10 changed files
with
1,273 additions
and
1,264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,27 @@ | ||
WIP | ||
# Laravel Jobs Plain | ||
|
||
Remove the laravel dependency on jobs allowing you to process queue jobs with other non-laravel services that push plain json jobs into the queue. | ||
|
||
# Config | ||
|
||
Add the following to your `config/queue.php` : | ||
|
||
``` | ||
'sqs-plain' => [ | ||
'driver' => 'sqs-plain', | ||
'key' => env('AWS_QUEUE_KEY'), | ||
'secret' => env('AWS_QUEUE_SECRET'), | ||
'prefix' => env('AWS_PREFIX'), | ||
'queue' => 'test', | ||
'region' => 'eu-west-1', | ||
], | ||
'pubsub-plain' => [ | ||
'driver' => 'pubsub-plain', | ||
'queue' => 'test', | ||
'project_id' => env('PUBSUB_PROJECT_ID'), | ||
'retries' => 3, | ||
'request_timeout' => 60, | ||
'keyFilePath' => base_path() . '/' . env('PUBSUB_QUEUE_KEY'), | ||
], | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.