$ find ./libs/ -name \*kafka_\* | head -1 | grep -o '\kafka[^\n]*'
kafka_2.9.2-0.8.1.1.jar.asc where 0.8.1.1 is your kafka version
$ find ./libs/ -name \*kafka_\* | head -1 | grep -o '\kafka[^\n]*'
kafka_2.9.2-0.8.1.1.jar.asc where 0.8.1.1 is your kafka version