Skip to content

PHP Kafka examples, consumer, producer with and without avro support

Notifications You must be signed in to change notification settings

php-kafka/php-kafka-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

PHP Kafka examples, consumer, producer with and without avro support

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •