-
Install this package via composer using:
composer require rapide/laravel-queue-kafka -
Add LaravelQueueKafkaServiceProvider to
providersarray inconfig/app.php:Rapide\LaravelQueueKafka\LaravelQueueKafkaServiceProvider::class, -
Add these properties to
.envwith proper values:QUEUE_DRIVER=kafka
You can also find full examples in src/examples folder.
Once you completed the configuration you can use Laravel Queue API. If you used other queue drivers you do not need to change anything else. If you do not know how to use Queue API, please refer to the official Laravel documentation: http://laravel.com/docs/queues
Run the tests with:
vendor/bin/phpunitThis library is inspired by laravel-queue-rabbitmq by vyuldashev.
You can contribute to this package by discovering bugs and opening issues. Please, add to which version of package you create pull request or issue.
5.4`
The version is being matched by the release tag of this library.