Tested with kafka-3.2.0
-> https://www.apache.org/dyn/closer.cgi?path=/kafka/3.2.0/kafka_2.13-3.2.0.tgz
Modificate kafka properties files:
..\kafka\config\zookeeper.properties
setdataDir=..\kafka\zookeeper-data
..\kafka\config\server.properties
setlog.dirs=..\kafka\kafka-data
Run each script in separate windows terminal (cmd):
.\..\..\kafka\bin\windows\zookeeper-server-start.bat .\..\..\kafka\config\zookeeper.properties
.\..\..\kafka\bin\windows\kafka-server-start.bat .\..\..\kafka\config\server.properties
Run example-kafka
application and execute endpoints each in separate tab: