ramiiyoussef / laravel-kafka
Laravel Kafka Queue Driver
1.0.5
2024-02-28 11:13 UTC
Requires
- php: >=8.1
- ext-json: *
- ext-rdkafka: *
- graham-campbell/manager: ^5.1
Requires (Dev)
- graham-campbell/analyzer: ^4.1
- graham-campbell/testbench: ^6.1
- hamcrest/hamcrest-php: ^2.0
- kwn/php-rdkafka-stubs: ^2.0
- larastan/larastan: ^2.9
- orchestra/testbench: ^8.21
- phpro/grumphp: ^2.5
- phpunit/phpunit: ^9.6
- slevomat/coding-standard: ~8.0
- squizlabs/php_codesniffer: ^3.9
README
laravel-kafka adds support for Apache Kafka to Laravel Queues. It builds upon the rdkafka php extension, which you will have to install seperately. Also, you have to install the C/C++ client library librdkafka upfront. Afterwards, you can freely push jobs to your favorite Kafka queue!
laravel-kafka supports PHP 8.1/8.2/8.3 and Laravel 10.
Installation
To install the latest version of ramiiyoussef/laravel-kafka
just require it using composer.
composer require ramiiyoussef/laravel-kafka
Environments:
KAFKA_BROKER_LIST=127.0.0.1:9092 KAFKA_QUEUE=topic_a KAFKA_QUEUE_GROUP=group1 KAFKA_AUTH_LOGIN= KAFKA_AUTH_PASSWORD=
Licence
Kafkaesk is licenced under The MIT Licence (MIT).