Laravel Queue Driver for Elasticsearch
ElasticQueue is released under the MIT Open Source License, https://opensource.org/licenses/MIT
ElasticQueue © Broker Exchange Network 2018
- Run command
composer require brokerexchange\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,
],