massimobiagioli / php-kafka-demo

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:PHP 78.4%Language:Dockerfile 21.6%