This is the documentation for v2.0. You can switch versions in the menu at the top. Check your current version with the following command:

composer show mateusjunges/laravel-kafka

Creating a kafka consumer