Trying to install open source installation of Kafka and zookeeper. First 3 steps completed and when I tried Step 4: getting error PI JDBC.jar was unexpected
Step 1: Download Apache Kafka from its Official Site.
Step 2: Extract tgz via cmd or from the available tool to a location of your choice:
tar -xvzf kafka_2.13-3.7.0.tgz
Step 3: Copy the path of the Kafka folder. Now go to config inside Kafka folder and open zookeeper.properties file. Copy the path against the field dataDir and add /zookeeper-data to the path.
Step 4: we have to modify the config/server.properties file. Below is the change:
fileslog.dirs=C:kafkakafka-logs
Basically, we are pointing the log.dirs to the new folder /data/kafka.
Run Kafka Server:
Step 1: Kafka requires Zookeeper to run. Basically, Kafka uses Zookeeper to manage the entire cluster and various brokers. Therefore, a running instance of Zookeeper is a prerequisite to Kafka.
To start Zookeeper, we can open a PowerShell prompt and execute the below command:
c:kafka> .binwindowszookeeper-server-start.bat .configzookeeper.properties
PIPCJDBCPIJDBCDriver.jar was unexpected at this time.
How to resolve this?