/php-kafka-demo

**** EXPERIMENT **** PHP Kafka Demo

Primary LanguagePHP

Php-Kafka demo

Example docker environment where php can write and read from kafka.

Requirements

On your own machine you should have:

  • docker
  • docker-compose

Run the demo

docker-compose up -d

Send your message in the querystring by visiting http://localhost?hello.

docker-compose exec php php /usr/share/nginx/www/public/consumer.php

The line above should print the messages in the shell

Documentation