Documentation

Harness the power of Kafka in your Laravel projects

Use Kafka producers and consumers in your Laravel app with ease.

$consumer = Kafka::consumer(["my-topic"])
    ->withBrokers("localhost:8092")
    ->withAutoCommit()
    ->withHandler(new MessageHandler)
    ->build();

$consumer->consume();
{
    "require": {
        "mateusjunges/laravel-kafka": "^2.11"
    }
}
Welcome to the Laravel Kafka Blog!
Explore expert insights, hands-on tutorials, and best practices to level up your development workflow and create more efficient, secure applications.

Setting up a Kafka Cluster with SSL/TLS: A Step-by-Step Guide

Enhance your local Kafka development environment by setting up SSL/TLS encryption. This guide walks you through securing communication between clients and brokers, providing a smoother and more secure development workflow.