Download the PHP package simpod/kafka without Composer
On this page you can find all versions of the php package simpod/kafka. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor simpod
Package kafka
Short Description PHP Kafka boilerplate wrapper around RdKafka
License MIT
Package kafka
Short Description PHP Kafka boilerplate wrapper around RdKafka
License MIT
Please rate this library. Is it a good library?
Informations about the package kafka
PHP Kafka boilerplate wrapper around RdKafka
Installation
Add as Composer dependency:
Config Constants
Some config constants are provided like ConsumerConfig
, ProducerConfig
or CommonClientConfigs
.
However, they are copied from Java API and not all are applicable to librdkafka. Consult with librdkafka documentation before use.
Clients
Consumer
KafkaConsumer
boilerplate is available with startBatch()
method (to suplement this example in librdkafka) and with start()
. They also handle
termination signals for you.
Classic Consumer
Batching Consumer
All versions of kafka with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3
ext-pcntl Version *
ext-rdkafka Version ^6
psr/log Version ^3
thecodingmachine/safe Version ^2.2 || ^3
ext-pcntl Version *
ext-rdkafka Version ^6
psr/log Version ^3
thecodingmachine/safe Version ^2.2 || ^3
The package simpod/kafka contains the following files
Loading the files please wait ....