Pull request Compare This branch is 4 commits ahead of develop.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
LICENSE
README.md
consumer.php
dataplatform-raw.avsc
sonar-project.properties

README.md

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: 127.0.0.1:9092
  • zookeeper host: 127.0.0.1:2181

Requirements

Disclaimer

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.

Consumer

Start a consumer (raw message):

php consumer.php