mateusjunges/laravel-kafka
Laravel Kafka makes it easy to produce and consume Kafka messages in Laravel with a clean, expressive API and improved testability. Build producers and consumers quickly, integrate with your app workflows, and avoid painful Kafka testing setups.
assertPublishedTimes, shouldReceiveMessages).librdkafka bindings) while maintaining Laravel’s idiomatic syntax.Kafka::publish()->onTopic()->send()) over raw librdkafka.rdkafka installation is blocked in your environment)."This package lets us leverage Kafka—an industry-standard, scalable messaging system—without hiring specialized engineers. It integrates natively with Laravel, so our backend team can adopt event-driven architecture to:
"This is a drop-in replacement for manual Kafka integration with Laravel’s familiar syntax. Key wins:
Kafka::publish()->onTopic()->withHeaders()->send().Kafka::fake() and assert message counts/headers.rdkafka extension (but we can containerize it) and assumes Kafka brokers are already provisioned. Let’s prototype with the [order service] to validate performance gains over queues.""This package abstracts Kafka’s complexity behind a Laravel facade, but we’ll need to:
kafka.server:type=BrokerTopicMetrics,name=BytesInPerSec).
Tradeoff: More moving parts, but we avoid custom scripts for message serialization/deserialization."How can I help you explore Laravel packages today?