Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 776 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 776 Bytes

Php-Kafka demo

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

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