예제 #1
0
 def test_run_broker(self):
     _command = "kafka-server-start.sh path/to/config"
     Kafka.start_broker(path_to_config="path/to/config", executor=mock_executor(expected_command=_command))
예제 #2
0
 def run(self):
     Kafka.start_broker(path_to_config=os.path.join(
         os.path.dirname(__file__), 'resources/kafka/server.properties'))
예제 #3
0
파일: test_kafka.py 프로젝트: epam/Merlin
 def run(self):
     Kafka.start_broker(path_to_config=os.path.join(os.path.dirname(__file__), 'resources/kafka/server.properties'))