Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 1.46 KB

README.md

File metadata and controls

28 lines (25 loc) · 1.46 KB

PHP Kafka Examples

This repository has PHP examples for Kafka consumers / producers for:

Examples

Checkout these folders to see how to run the examples:

Examples with other compatible systems

Customize to fit your setup

If you wan't to test / debug something that is closer to your setup,
you can modify the following arguments in docker-compose.yml:

PHP_IMAGE_TAG: 8.1-cli-alpine3.15
LIBRDKAFKA_VERSION: v1.8.2
PHP_EXTENSION: php-kafka/php-simple-kafka-client
PHP_EXTENSION_VERSION: v0.1.4

Adjust those, to reflect your setup and afterwards run:

docker-compose up --build -d