I am very confused. So any help it will be very wellcome. I am trying to deploy a lumen app, that can consume message from kafka.
I have gueesed that queue could be the right apporach to the problem, but i cannot find a path to solve the problem.
I have found this lib: https://github.com/php-enqueue/enqueue-dev/blob/master/docs/laravel/quick_tour.md
that is saying that the message can be consumed by call:
php artisan enqueue:consume -vvv --setup-broker
that is putting me in confusion, because to me now is not clear how to use it inside my functions, or having an async listener to a specific external kafka service.