Page MenuHomePhabricator

Pick a PHP Kafka client library
Closed, DeclinedPublic2 Story Points

Description

It looks like ext-rdkafka is going to be the future standard, but is currently in alpha and cannot be used without packaging. Try to find another library that stays close to the librdkafka bindings, to make future migration simpler.

Leading candidate

https://github.com/arnaud-lb/php-rdkafka

Supports Kafka 0.8 and 0.9, designed as a thin binding layer above librdkafka. This is the only Kafka extension to make it into PECL. However, the extension is lacking glue to compile under HHVM.

Other candidates

nmred/kafka-php -> We've chopped the consumer bits out and made some big changes, so the WMF fork is not suitable for this project. The package itself is PHP-only, but the consumer has a dependency on andreiz-ZooKeeper, which is a binary extension.

Exploratory integration with nmred/kafka-php: https://github.com/adamwight/php-queue/tree/kafka

https://github.com/hauptmedia/php-rdkafka -> Wrapper around ext-rdkafka, which might be nice in the future. Only one contributor so far.

Event Timeline

awight created this task.Mar 30 2016, 6:22 PM
DStrine moved this task from Triage to Sprint -- on the Fundraising-Backlog board.Mar 30 2016, 8:15 PM
atgo removed a subscriber: atgo.Mar 30 2016, 10:05 PM
awight claimed this task.Apr 14 2016, 11:21 PM
awight moved this task from Backlog to Doing on the Fundraising Sprint Hermit Crab Husbandry board.
awight updated the task description. (Show Details)Apr 14 2016, 11:35 PM
awight updated the task description. (Show Details)Apr 14 2016, 11:58 PM
awight updated the task description. (Show Details)Apr 18 2016, 7:04 PM
awight updated the task description. (Show Details)Apr 18 2016, 8:57 PM
awight changed the point value for this task from 1 to 2.
awight updated the task description. (Show Details)Apr 18 2016, 10:33 PM
Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptApr 19 2016, 9:52 PM
awight closed this task as Declined.Apr 22 2016, 5:55 PM

Probably not needed for now.

mmodell removed a subscriber: awight.Jun 22 2017, 9:50 PM