Download the PHP package liangtao/kafka-php without Composer
On this page you can find all versions of the php package liangtao/kafka-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download liangtao/kafka-php
More information about liangtao/kafka-php
Files in liangtao/kafka-php
Download liangtao/kafka-php
More information about liangtao/kafka-php
Files in liangtao/kafka-php
Vendor liangtao
Package kafka-php
Short Description PHP client for Kafka version 2.7.1
License Apache-2.0
Homepage https://github.com/liangtao-top/kafka-php
Package kafka-php
Short Description PHP client for Kafka version 2.7.1
License Apache-2.0
Homepage https://github.com/liangtao-top/kafka-php
Please rate this library. Is it a good library?
Informations about the package kafka-php
Kafka-php
Kafka-php 使用纯粹的PHP 编写的 kafka 客户端,目前支持 2.7.1 以上版本的 Kafka,使用 PHP 异步执行的方式来和kafka broker 交互,由于使用 PHP 语言编写所以不用编译任何的扩展就可以使用,降低了接入与维护成本
安装环境要求
- PHP version >= 8.0.12
- Kafka version >= 2.7.1
使用 Composer 安装
添加 composer 依赖 liangtao/kafka-php
到项目的 composer.json
文件中即可,如:
配置
配置参数见 配置
Produce
异步回调方式调用
同步方式调用生产者
Consumer
Basic Protocol
基础协议 API 调用方式见 Example
All versions of kafka-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0.12
amphp/amp Version ^2.6
lcobucci/clock Version ^2.1
psr/log Version ^1.1.4
amphp/amp Version ^2.6
lcobucci/clock Version ^2.1
psr/log Version ^1.1.4
The package liangtao/kafka-php contains the following files
Loading the files please wait ....