Skip to content

samllsen/laravel-queue-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka Queue driver for Laravel

Latest Stable Version Build Status Total Downloads StyleCI License

Installation

  1. Install this package via composer using:

    composer require rapide/laravel-queue-kafka

  2. Add LaravelQueueKafkaServiceProvider to providers array in config/app.php:

    Rapide\LaravelQueueKafka\LaravelQueueKafkaServiceProvider::class,

  3. Add these properties to .env with proper values:

     QUEUE_DRIVER=kafka
    

You can also find full examples in src/examples folder.

Usage

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

Testing

Run the tests with:

vendor/bin/phpunit

Acknowledgement

This library is inspired by laravel-queue-rabbitmq by vyuldashev.

Contribution

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.

Supported versions of Laravel (+Lumen)

5.4`

The version is being matched by the release tag of this library.

About

Kafka Queue driver for Laravel

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 98.5%
  • Shell 1.5%