We want to start up and shut down Kafka via a Python script in place of using the Cloudera Manager Web Gui. The Cloudera documentation here: https://www.cloudera.com/documentation/enterprise/6/6.0/topics/kafka_admin_cli.html states;
"Use Cloudera Manager to start and stop Kafka and Zookeeper services. Do not use the kafka-server-start, kafka-server-stop, zookeeper-server-start, or zookeeper-server-stop commands."
There's nothing we can do to start and stop Kafka in a scripted manner?