Search code examples
apache-kafkasystemdwindows-subsystem-for-linux

Kafka service does not start


I am trying to install Kafka following a tutorial from DigitalOcean.com here.

I am doing this on Windows WSL2 with Ubuntu. So, after creating the zookeeper.service and kafka.service as per the tutorial, I do this command (the tutorial uses sudo systemctl start kafka instead), following advice from this thread:

sudo service kafka start

I received :

kafka: unrecognized service

When I do service --status-all to see if kafka is in the list, it is not there.

What am I missing?


Solution

  • There is lack of support in WSL for systemd

    why systemd is disabled in WSL?