Hi@akhtar,
Actually, in kafka there is no command kafka --version to find version. You can find by using the below commands.
$ jps -m
7108 QuorumPeerMain config/zookeeper.properties
8219 Kafka config/server.properties
[root@master bin]# pwdx 8219
8219: /root/Desktop/kafka_2.11-0.9.0.0
Here 2.11 is scala version and 0.9.0.0 is kafka version.
Hope this will help.
To know more about Kafka, get your Apache Kafka certification course today.
Thank You