@quourtige I’m not sure what you’re asking. Laravel doesn’t have built-in support for Kafka. You can’t just put Kafka credentials in place of Redis credentials and Laravel’s Redis driver to start magically working.
If you want to use web sockets then you’ll probably need to publish messages from your Kafka instance to a socket channel, and then consume messages from those socket channels on your front-end. So Laravel actually has no bearing on how you use Kafka or sockets because it won’t be involved in the process at all.