public class KafkaClusterTest extends Object
| Modifier and Type | Field and Description |
|---|---|
private KafkaCluster |
cluster |
private File |
dataDir |
org.junit.rules.TestRule |
skipTestRule |
| Constructor and Description |
|---|
KafkaClusterTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach() |
protected void |
assertDoesNotExist(File dir) |
protected void |
assertValidDataDirectory(File dir) |
void |
beforeEach() |
void |
shouldStartClusterAndAllowAsynchronousProductionAndAutomaticConsumersToUseIt() |
void |
shouldStartClusterAndAllowInteractiveProductionAndAutomaticConsumersToUseIt() |
void |
shouldStartClusterAndAllowProducersAndConsumersToUseIt() |
void |
shouldStartClusterWithMultipleBrokerAndLeaveData() |
void |
shouldStartClusterWithMultipleBrokerAndRemoveData() |
void |
shouldStartClusterWithOneBrokerAndLeaveData() |
void |
shouldStartClusterWithOneBrokerAndRemoveData() |
public org.junit.rules.TestRule skipTestRule
private KafkaCluster cluster
private File dataDir
public void beforeEach()
public void afterEach()
public void shouldStartClusterWithOneBrokerAndRemoveData()
throws Exception
Exceptionpublic void shouldStartClusterWithMultipleBrokerAndRemoveData()
throws Exception
Exceptionpublic void shouldStartClusterWithOneBrokerAndLeaveData()
throws Exception
Exceptionpublic void shouldStartClusterWithMultipleBrokerAndLeaveData()
throws Exception
Exceptionpublic void shouldStartClusterAndAllowProducersAndConsumersToUseIt()
throws Exception
Exceptionpublic void shouldStartClusterAndAllowInteractiveProductionAndAutomaticConsumersToUseIt()
throws Exception
Exceptionpublic void shouldStartClusterAndAllowAsynchronousProductionAndAutomaticConsumersToUseIt()
throws Exception
Exceptionprotected void assertValidDataDirectory(File dir)
protected void assertDoesNotExist(File dir)
Copyright © 2016 JBoss by Red Hat. All rights reserved.