Skip to content

An example of how to use laravel's kafka package including kafka-connect and schema-registry, mysql binlog

Notifications You must be signed in to change notification settings

namtrt/laravel-10-kafka-example

Repository files navigation

Laravel 10 with Kafka, Kafka UI

Laravel with kafka, kafka-ui, kafka-connect, schema-registry.

Setup & start

1. Setup Docker

The first, install Docker and Docker Compose:

2. Clone source code

Clone this project to your server or local machine.

3. Make config file

Run below command to make config file from sample file:

cp .env.example .env

4. Build & start application

Run following command to build & start your application

docker-compose up

Run in background

docker-compose up -d

5. Install packages

composer install

Executes tests

php artisan test

Executes check code quality

./vendor/bin/rector process

Useful link

Kafka Ui

Test Kafka Producer

  php artisan kafka:test-producer

About

An example of how to use laravel's kafka package including kafka-connect and schema-registry, mysql binlog

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published