Kafka assigner tools¶
-
kafka.tools.assigner.tools.
check_java_home
()¶ Make sure that JAVA_HOME in the current environment is specified and is valid.
-
kafka.tools.assigner.tools.
get_tools_path
(tools_path=None)¶ Find the Kafka admin utilities, either from the provided arg or the PATH.
Parameters: tools_path – the path to use for locating the Kafka admin utilities.
-
kafka.tools.assigner.tools.
is_exec_file
(fname)¶ Check if the given filename is a regular file and is executable.
Parameters: fname – the filename to check.