NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #2081 most downloaded on Packagist
A kafka driver for laravel
Latest stable
v2.13.1
Last release 29 days ago
23 Oct 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
116 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Add support for Laravel v10.x by @mateusjunges and @mihaileu in https://github.com/mateusjunges/laravel-kafka/pull/171
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.10.2...v1.11.0
Fix docs typo by @isaacdarcilla in https://github.com/mateusjunges/laravel-kafka/pull/167
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.10.1...v1.10.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add Logger contract to allow end user implement their own Logger by @remarkusable in https://github.com/mateusjunges/laravel-kafka/pull/165
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.10.0...v1.10.1
Drop support for laravel 8 and rdkafka 4.0 by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/158
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.9.3...v1.10.0
Fixes kafka.php configuration file
kafka.php configuration fileFull Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.9.2...v1.9.3
Allow to configure sleep timeout on flush retry by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/156
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.9.1...v1.9.2
flush by @mateusjunges in #156Filter config options for consumer and producers by @mateusjunges in #151
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.9.0...v1.9.1
Make Kafka class usable through interface injection by @mosharaf13 in https://github.com/mateusjunges/laravel-kafka/pull/150
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.8.9...v1.9.0
Fix batch message processing by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/143
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.8.8...v1.8.9
[v1.8.x] Fix docs by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/137
kafka:consume Command by @cragonnyunt in https://github.com/mateusjunges/laravel-kafka/pull/140Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.8.7...v1.8.8
Make consumer timeout configurable (fixes #132) by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/134
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.8.6...v1.8.7
[v1.8.x] Use stub files by @smortexa in https://github.com/mateusjunges/laravel-kafka/pull/129
stub files by @smortexa in https://github.com/mateusjunges/laravel-kafka/pull/129Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.8.5...v1.8.6
[v1.8.x] Add restart command by @gajosu in https://github.com/mateusjunges/laravel-kafka/pull/119
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.8.4...v1.8.5
Fix compression type to be read from config file by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/123
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.8.3...v1.8.4
Fixes #120 by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/122
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.8.2...v1.8.3
[v1.8.x] Added missing return type + missing docblocks by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/115
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.8.1...v1.8.2
[v1.8.x] Better error handling when flush returns error by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/112
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.8.0...v1.8.1
flush returns an error, by @mateusjunges in #112[v1.7.x] Message consumer Mock by @gajosu in https://github.com/mateusjunges/laravel-kafka/pull/107
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.7.7...v1.8.0
[v1.7.x] Added missing comas in the class params by @shanginn in https://github.com/mateusjunges/laravel-kafka/pull/101
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.7.6...v1.7.7
[v1.7.x] Deprecation warning fix by @Elnadrion in https://github.com/mateusjunges/laravel-kafka/pull/100
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.7.5...v1.7.6
[v1.7.x] Added SASL Security Protocol to getSasl method by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/97
getSasl method by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/97Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.7.4...v1.7.5
[v1.7.x] Do not allow setting dlq without subscribing to topics by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/95
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.7.3...v1.7.4
Fix facade docblock by @nmfzone in https://github.com/mateusjunges/laravel-kafka/pull/93
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.7.2...v1.7.3
[1.6.x] Fix serialize by @lukecurtis93 in https://github.com/mateusjunges/laravel-kafka/pull/92
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.7.1...v1.7.2
[1.7.x] Added support for batch producing and handling batch of messages by @vsvp21 in https://github.com/mateusjunges/laravel-kafka/pull/86
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.7.0...v1.7.1
[1.6.x] If callback is provided, filter of published messages should use it by @nmfzone in https://github.com/mateusjunges/laravel-kafka/pull/87
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.6.4...v1.7.0
Fix facade docblock by @nmfzone in https://github.com/mateusjunges/laravel-kafka/pull/93
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.6.5...v1.6.6
[1.6.x] If callback is provided, filter of published messages should use it by @nmfzone in https://github.com/mateusjunges/laravel-kafka/pull/87
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.6.4...v1.6.5
Use correct consumer group id config key by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/82
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.6.3...v1.6.4
[1.6.x] Add auto.offset.reset as consumer only config option by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/79
auto.offset.reset as consumer only config option by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/79Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.6.2...v1.6.3
auto.offset.reset to the consumer only options array.Move v1.6x docs to junges.dev by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/72
getConsumerOptions method by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/76Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.5.4...v1.6.2
[1.6.x] Fixes #69 - Allow to use SASL with lowercase config keys by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/70
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.6.0...v1.6.1
[1.6.x] Support ext rdkfka 6.x by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/66
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.5.3...v1.6.0
ext-rdkafka v6.0mateusjunges/laravel[1.3.x] Allow using sasl with lowercase config keys by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/71
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.4.6...v1.5.4
[1.5.x] Include SASL on consumer config when applicable by @rtuin in https://github.com/mateusjunges/laravel-kafka/pull/56
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.5.2...v1.5.3
[1.5.X] Fix consumer command by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/50
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.5.1...v1.5.2
Consumer API improvements by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/42
withBrokers setter to the Consumer API by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/42withAutoCommit setter, defaulting to true by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/42librdkafka v0.11.3 by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/43Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.5.0...v1.5.1
withBrokers setter to the consumer api, allowing to set brokers on the run (#6a639ce)withAutoCommit, which defaults to true (#3ffb226)librdkafka v0.11.3 (#4600fdc)auto_commit to string on initial consumer options (#f2a6c2b)Small exception improvements by @rtuin in https://github.com/mateusjunges/laravel-kafka/pull/38
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.4.5...v1.5.0
[1.6.x] Fixes #69 - Allow to use SASL with lowercase config keys by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/70
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.6.0...v1.4.6
Update dependencies + Remove unecessary conditions on Options class by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/36
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.4.4...v1.4.5
Fix composer dependencies by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/34
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.4.3...v1.4.4
[1.4.x] Improve consistency on encode/serialize terms by @rtuin in https://github.com/mateusjunges/laravel-kafka/pull/31
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.4.2...v1.4.3
[1.4.x] Added graceful shutdown function to consumers by @thetomcake in https://github.com/mateusjunges/laravel-kafka/pull/29
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.4.1...v1.4.2
Fix flush exception by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/28
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.4.0...v1.4.1
flush call. (#ddae8e3)Reworked testing framework so that it properly checks what was dispatched by @thetomcake in https://github.com/mateusjunges/laravel-kafka/pull/22
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.3.1...v1.4.0
Fix incorrect message published count by @mateusjunges (#06c3844)
fix assert published on times by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/19
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.3.0...v1.3.1
assertPublishedOnTimes to allow usage of callback if the message is null. (#c5b496)Added assertion methods + message is optional argument when testing. by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/18
broker and topic argument optional, add assertPublishedTimes and assertPublishedOnTimes and make message argument optional for assertion methods by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/17Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.2.0...v1.3.0
assertPublishedTimes and assertPublishedOnTimes methods (#a16a10d)publishOn and createConsumer method signatures on kafka facade (#eb66e8e)assertPublished and assertPublishedOn methods (#9ec5eea)Adds sasl to producer builder by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/14
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.1.3...v1.2.0
Update laravel version this package is tested against by @mateusjunges in https://github.com/mateusjunges/laravel-kafka/pull/12
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.1.2...v1.1.3
Added validation to ensure a kafka consumer will not subscribe to a topic if it is already subscribed by @mateusjunges (#f1ab25c)
$topics parameter optional on Kafka::createConsumer method. (#ef7a1a8)Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.1.1...v1.1.2
Fixed documentation about message handlers by @mateusjunges (#c375e10)
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.1.0...v1.1.1
Added option to use custom serializers/deserializers with Kafka by @mateusjunges
Junges\Kafka\Contracts\KafkaConsumerMessage instance, instead of RdKafka\Message directly.Junges\Kafka\Message class namespace changed to Junges\Kafka\Message\MessagewithMessageKey renamed to withBodyKey, on Junges\Kafka\Message\Message and Junges\Kafka\Producers\ProducerBuilder classes. ([b41c310]Documentation Typos by @vitorhugoro1 in https://github.com/mateusjunges/laravel-kafka/pull/2
Full Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.0.1...v1.0.2
Fixed argument for assertPublished, used to perform assertions over published messages
assertPublished, used to perform assertions over published messagesFull Changelog: https://github.com/mateusjunges/laravel-kafka/compare/v1.0.0...v1.0.1
Initial release by @mateusjunges
One column per quarter.