public class KafkaLocalBroker extends Object implements MiniCluster
| Modifier and Type | Class and Description |
|---|---|
static class |
KafkaLocalBroker.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
void |
configure() |
Integer |
getKafkaBrokerId() |
String |
getKafkaHostname() |
Integer |
getKafkaPort() |
Properties |
getKafkaProperties() |
String |
getKafkaTempDir() |
String |
getZookeeperConnectionString() |
void |
start() |
void |
stop() |
void |
stop(boolean cleanUp) |
public String getKafkaHostname()
public Integer getKafkaPort()
public Integer getKafkaBrokerId()
public Properties getKafkaProperties()
public String getKafkaTempDir()
public String getZookeeperConnectionString()
public void start()
throws Exception
start in interface MiniClusterExceptionpublic void stop()
throws Exception
stop in interface MiniClusterExceptionpublic void stop(boolean cleanUp)
throws Exception
stop in interface MiniClusterExceptionpublic void configure()
throws Exception
configure in interface MiniClusterExceptionpublic void cleanUp()
throws Exception
cleanUp in interface MiniClusterExceptionCopyright © 2015. All Rights Reserved.