예제 #1
0
 def service_check(self, env):
   kafka(action='status')
예제 #2
0
 def status(self, env):
   kafka(action='status')
예제 #3
0
  def stop(self, env):
    import params
    env.set_params(params)

    kafka(action='stop')
예제 #4
0
  def configure(self, env):
    import params
    env.set_params(params)

    kafka(action='config')
예제 #5
0
 def start(self, env):
   import params
   env.set_params(params)
   
   self.configure(env)
   kafka(action='start')