Laravel Queue Driver for Elasticsearch
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
composer.json
license
readme.md

readme.md

Latest Stable Version Latest Unstable Version Total Downloads License composer.lock

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

Installation

  • 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
  • Add to config/queue.php
        'elasticsearch' => [
            'driver' => 'elasticsearch',
            'host' => explode(',',env('ELASTICSEARCH_HOST','localhost:9200')),
            'index' => 'jobs',
            'queue' => 'default',
            'retry_after' => 60,
        ],