"type" and "which" programs coming up empty for programs on the path
As you can see in your first screenshot, there is no application called and ‘kafka-‘.  Therefore, it cannot look up its path. 

Try, for example, ‘which kafka-configs’ and it will show you the path.