Kafka Client (PHP)

Please note that this tool can be used for unit testing, but should not be used in production.

Default Settings

  • default topic: avro.log.asa
  • kafka host:
  • zookeeper host:


  • PHP
  • phpKafka
  • avro
  • zookeeper


These files are a simple illustration of a producer and consumer written in PHP, and were used to test the reference Java-based implementation for Avro binary encoding and decoding.


Start a consumer (raw message):

php consumer.php 

results matching ""

    No results matching ""