Kafka server not returning anything

The issue resolved after including C:\Windows\System32 in PATH variable.


You have to add the path:

 %SystemRoot%\System32\Wbem;%SystemRoot%\System32\;SystemRoot%

in User %PATH% Environment variable, and not in system %PATH% Environment variable.