This is the documentation for
v1.12 but the latest version is
You can switch versions in the menu on the left/at the top.
Check your current version with the following command:
composer show mateusjunges/laravel-kafka
To publish your messages to Kafka, you can use the publishOn method, of
This method returns a
ProducerBuilder instance, which contains a few methods to configure your kafka producer.
The following lines describes these methods.