Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 1.24 KB

README.md

File metadata and controls

71 lines (51 loc) · 1.24 KB

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

Kafka CLI

docker compose exec kafka0 bash

Test Kafka Producer

  php artisan kafka:test-producer