Download the PHP package g4197/kafka-php without Composer
On this page you can find all versions of the php package g4197/kafka-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download g4197/kafka-php
More information about g4197/kafka-php
Files in g4197/kafka-php
Package kafka-php
Short Description Kafka client for php
License Apache-2.0
Homepage http://www.swanlinux.net
Informations about the package kafka-php
Kafka-php
Forked from kafka-php.
Reason of fork
- non-compatible libraries
-
old PHP version(7.1)
Kafka-php is a pure PHP kafka client that currently supports greater than 0.8.x version of Kafka, this project v0.2.x and v0.1.x are incompatible if using the original v0.1.x You can refer to the document Kafka PHP v0.1.x Document, but it is recommended to switch to v0.2.x . v0.2.x use PHP asynchronous implementation and kafka broker interaction, more stable than v0.1.x efficient, because the use of PHP language so do not compile any expansion can be used to reduce the access and maintenance costs
Requirements
- Minimum PHP version: 8.0
- Kafka version greater than 0.8
- The consumer module needs kafka broker version greater than 0.9.0
Installation
The package could be installed with composer:
Configuration
Configuration properties are documented in Configuration
Producer
Asynchronous mode
Synchronous mode
Consumer
Low-Level API
Refer Example
All versions of kafka-php with dependencies
amphp/amp Version ^2.0.3
lcobucci/clock Version ^1.0
psr/log Version ^2.0|^3.0