Registry / messaging / nmred-kafka-php

nmred-kafka-php

JSON →
library0.2.0phppackagistunverified

Kafka client for PHP enabling message production and consumption.

composer require nmred/kafka-php
INSTALL
IMPORT
SIG · NMRED-KAFKA-PHP
N
nmred-kafka-php
messagingphpv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Consumer
use Kafka\Consumer;

Subscribes to a Kafka topic and consumes messages.

use Kafka\Consumer; $consumer = new Consumer('localhost:9092'); $consumer->subscribe(['my-topic']);
Debug
Known issues
breakingRequires PHP 5.6+ and the librdkafka extension.
fix
Install librdkafka via pecl or system package manager.
affects: <0.3.0
Upgrade
Version history
0.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Amazon
1
OpenAI (training)
1
Resources
nmred-kafka-php — pip install nmred-kafka-php · libregistry