mateusjunges / laravel-kafka

Use Kafka Producers and Consumers in your laravel app with ease!
https://laravelkafka.com/docs/v2.0/introduction
MIT License
582 stars 83 forks source link

Improve consumer documentation #131

Closed mugisham closed 2 years ago

mugisham commented 2 years ago

Could a concrete example of how the consumer is used and how to use the Kafka: consume command be added? Looking at the code isn't getting me there and the examples don't really show how the actual Class structure will be arranged. A good example would be something like the one in the laravel docs: https://laravel.com/docs/9.x/queues. It shows the commands and how they come together with a sample class structure

mateusjunges commented 2 years ago

Please check this link https://junges.dev/documentation/laravel-kafka/v1.8/consuming-messages/9-class-structure