Hi @Nilesh
If you are using HDP via Ambari, you can use the Stacks and Versions feature to see all of the installed components and versions from the stack. Via command line, you can navigate to /usr/hdp/current/kafka-broker/libs and see the jar files with the versions. See the attachments for examples of each. I don't believe there is a --version type of command in any of the Kafka cli scripts from what I remember.
screen-shot-2017-11-29-at-84935-am.pngscreen-shot-2017-11-29-at-85206-am.png