{"repo":"jobcloud/php-kafka-lib","free":true,"listed":false,"github":"https://github.com/jobcloud/php-kafka-lib","clone":"git clone https://github.com/jobcloud/php-kafka-lib.git","description":"PHP Kafka producer / consumer library with PHP Avro support, based on php-rdkafka","language":"PHP","stars":60,"topics":["kafka","avro-support","php","avro","consumer","producer"],"license":"MIT","category":"data-pipelines","readme_excerpt":"php-kafka-lib Description This is a library that makes it easier to use Kafka in your PHP project. This library relies on arnaud-lb/php-rdkafka Avro support relies on flix-tech/avro-serde-php The documentation of the php extension, can help out to understand the internals of this library. Requirements - php: ^8.0 - ext-rdkafka: =4.0.0 - librdkafka: =0.11.6 (if you use =4.1.0 - librdkafka: =1.4 Installation Enable Avro support If you need Avro support, run: Usage Producer Kafka Simple example Transactional producer (needs =php-rdkafka:4.1 and =librdkafka:1.4) Avro Producer To create an avro prodcuer add the avro encoder. NOTE: To improve producer latency you can install the pcntl extension. The php-kafka-lib already has code in place, similarly described here: https://github.com/arnaud-lb/php-rdkafka#performance--low-latency-settings Consumer Kafka High Level Kafka Low Level Avro Consumer To create an avro consumer add the avro decoder. Additional information Replaces messaging-lib Check Migration.md for help to migrate.","default_branch":null,"files":null,"tree":[],"storefront":"/r/jobcloud","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jobcloud/php-kafka-lib/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}