public class EmbeddedKafkaCluster extends Object
| Constructor and Description |
|---|
EmbeddedKafkaCluster(String zkConnection) |
EmbeddedKafkaCluster(String zkConnection,
Properties baseProperties) |
EmbeddedKafkaCluster(String zkConnection,
Properties baseProperties,
List<Integer> ports) |
| Modifier and Type | Method and Description |
|---|---|
void |
createTopics(String... topics) |
String |
getBrokerList() |
List<Integer> |
getPorts() |
Properties |
getProps() |
org.I0Itec.zkclient.ZkClient |
getZkClient() |
String |
getZkConnection() |
void |
shutdown() |
void |
startup() |
String |
toString() |
public EmbeddedKafkaCluster(String zkConnection)
public EmbeddedKafkaCluster(String zkConnection, Properties baseProperties)
public EmbeddedKafkaCluster(String zkConnection, Properties baseProperties, List<Integer> ports)
public org.I0Itec.zkclient.ZkClient getZkClient()
public void createTopics(String... topics)
public void startup()
public Properties getProps()
public String getBrokerList()
public String getZkConnection()
public void shutdown()
Copyright © 2016. All rights reserved.