return servers.get(index);
}
public static KafkaServer createServer(KafkaConfig config) {
KafkaServer server = new KafkaServer(config, kafka.utils.SystemTime$.MODULE$);
server.startup();
return server;
}
public static Properties createBrokerConfig(int nodeId, int port, int zkPort, String dir) {
Properties props = new Properties();