Download the PHP package elliesl/laravel-aliyun-rdkafka without Composer
On this page you can find all versions of the php package elliesl/laravel-aliyun-rdkafka. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download elliesl/laravel-aliyun-rdkafka
More information about elliesl/laravel-aliyun-rdkafka
Files in elliesl/laravel-aliyun-rdkafka
Download elliesl/laravel-aliyun-rdkafka
More information about elliesl/laravel-aliyun-rdkafka
Files in elliesl/laravel-aliyun-rdkafka
Vendor elliesl
Package laravel-aliyun-rdkafka
Short Description aliyun kafka for laravel5, based on php-rdkafka
License MIT
Package laravel-aliyun-rdkafka
Short Description aliyun kafka for laravel5, based on php-rdkafka
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-aliyun-rdkafka
安装 librdkafka
git clone https://github.com/edenhill/librdkafka.git
cd librdkafka && ./configure && make && make install
安装 php-rdkafka
pecl install rdkafka
add extension=rdkafka.so to your php.ini
安装 laravel-aliyun-rdkafka
composer require elliesl/laravel-aliyun-rdkafka:dev-master
// config/app.php
\LaravelAliYunKafka\LaravelKafkaServiceProvider::class
// config/queue.php
'kafka' => [
'driver' => 'kafka',
'sasl_plain_username' => env('KAFKA_SASL_PLAIN_USERNAME', 'YOUR AK'), // 阿里云 ak
'sasl_plain_password' => env('KAFKA_SASL_PLAIN_PASSWORD', 'YOUR AC'),,// 阿里云 ac后10位
'bootstrap_servers' => "kafka-ons-internet.aliyun.com:8080", // broker
'ssl.ca.location' => storage_path('config/ca-cert'), // cr 证书 下载 https://help.aliyun.com/document_detail/52376.html
'message.send.max.retries' => 5,
'queue' => env('KAFKA_TOPIC', 'YOUR TOPIC'), // 这里填入你在阿里云控制台配置的topic
'consumer_id' => env('KAFKA_CONSUMER_ID', 'YOU CONSUMER ID'), // 消费者ID,你在阿里云控制台配置的消费之ID
'log_level' => LOG_DEBUG // 日志等级
],
使用方法:
php artisan queue:work kafka --tries=3
All versions of laravel-aliyun-rdkafka with dependencies
PHP Build Version
Package Version
The package elliesl/laravel-aliyun-rdkafka contains the following files
Loading the files please wait ....