I have a problem with Kafka PHP client on Windows (using xampp). I have installed Apache Kafka 0.8 and tested successfully. Then, I'm finding a PHP client to integrate Kafka to PHP, I just only want to make PHP can produce messages to Kafka (no consume).
By this link: https://cwiki.apache.org/confluence/display/KAFKA/Clients#Clients-PHP I found: https://github.com/EVODelavega/phpkafka
But this PHP Kafka client is being develop and the installation of this extension is more complex (requied librdkafka)
I have tried with other clients but no one work for me.
Does anyone have the same problem with me? Is there simple solution to integrate Kafka to PHP?
There are several PHP clients for Kafka. I recommend using this Compose, because it shows better performance than some other PHP clients. Now go to same folder in which Kafka is configured and run the command.
Kafka Python ClientPython client that provides a high-level producer, consumer, and AdminClient.
Apache Kafka Tutorial provides the basic and advanced concepts of Apache Kafka. This tutorial is designed for both beginners and professionals. Apache Kafka is an open-source stream-processing software platform which is used to handle the real-time data storage.
IMHO the most active Kafka client for PHP is arnaud-lb/php-rdkafka. I managed to compile and run it successfully on OSX and Linux.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With