Harness the power of Kafka in your Laravel projects

Use Kafka Producers and Consumers in your laravel app with ease!

MyKafkaConsumer.php
composer.json
$consumer = Kafka::consumer(["my-topic"])
    ->withBrokers("localhost:8092")
    ->withAutoCommit()
    ->withHandler(new MessageHandler)
    ->build();
    
$consumer->consume();
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.