hamdallah90 / elasticqueue
Laravel Queue Driver for Elasticsearch
dev-master
2023-01-25 20:49 UTC
Requires
This package is not auto-updated.
Last update: 2024-12-13 09:02:31 UTC
README
ElasticQueue
Laravel Queue Driver for Elasticsearch
License
ElasticQueue is released under the MIT Open Source License, https://opensource.org/licenses/MIT
Copyright
ElasticQueue © Broker Exchange Network 2018
Installation
- Run command
composer require hamdallah90/elasticqueue
- If you are using Laravel 5.5+, this package will be auto-discovered
- Otherwise, add
ElasticQueue\ElasticQueueServiceProvider::class,
to config/app.php
- Otherwise, add
- Add to config/queue.php
'elasticsearch' => [ 'driver' => 'elasticsearch', 'host' => explode(',',env('ELASTICSEARCH_HOST','localhost:9200')), 'index' => 'jobs', 'queue' => 'default', 'retry_after' => 60, ],