I'm trying to start two zookeeper instances required for kafka cluster on two different ports with different log directories. However I'm getting below error when I'm trying to start second zookeeper -
D:\Kafka\kafka_2.12-2.3.0 - Copy>bin\windows\zookeeper-server-start.bat config\zookeeper.properties Unrecognized option: - Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.