Package io.debezium.kafka
Class KafkaClusterTest
- java.lang.Object
-
- io.debezium.kafka.KafkaClusterTest
-
public class KafkaClusterTest extends Object
- Author:
- Randall Hauch
-
-
Field Summary
Fields Modifier and Type Field Description private KafkaClusterclusterprivate FiledataDirorg.junit.rules.TestRuleskipTestRule
-
Constructor Summary
Constructors Constructor Description KafkaClusterTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterEach()protected voidassertDoesNotExist(File dir)protected voidassertValidDataDirectory(File dir)voidbeforeEach()voidshouldSetClusterConfigProperty()voidshouldSetServerConfigProperty()voidshouldStartClusterAndAllowAsynchronousProductionAndAutomaticConsumersToUseIt()voidshouldStartClusterAndAllowInteractiveProductionAndAutomaticConsumersToUseIt()voidshouldStartClusterAndAllowProducersAndConsumersToUseIt()voidshouldStartClusterWithMultipleBrokerAndLeaveData()voidshouldStartClusterWithMultipleBrokerAndRemoveData()voidshouldStartClusterWithOneBrokerAndLeaveData()voidshouldStartClusterWithOneBrokerAndRemoveData()
-
-
-
Field Detail
-
skipTestRule
public org.junit.rules.TestRule skipTestRule
-
cluster
private KafkaCluster cluster
-
dataDir
private File dataDir
-
-
Method Detail
-
beforeEach
public void beforeEach()
-
afterEach
public void afterEach()
-
shouldStartClusterWithOneBrokerAndRemoveData
public void shouldStartClusterWithOneBrokerAndRemoveData() throws Exception- Throws:
Exception
-
shouldStartClusterWithMultipleBrokerAndRemoveData
public void shouldStartClusterWithMultipleBrokerAndRemoveData() throws Exception- Throws:
Exception
-
shouldStartClusterWithOneBrokerAndLeaveData
public void shouldStartClusterWithOneBrokerAndLeaveData() throws Exception- Throws:
Exception
-
shouldStartClusterWithMultipleBrokerAndLeaveData
public void shouldStartClusterWithMultipleBrokerAndLeaveData() throws Exception- Throws:
Exception
-
shouldStartClusterAndAllowProducersAndConsumersToUseIt
public void shouldStartClusterAndAllowProducersAndConsumersToUseIt() throws Exception- Throws:
Exception
-
shouldStartClusterAndAllowInteractiveProductionAndAutomaticConsumersToUseIt
public void shouldStartClusterAndAllowInteractiveProductionAndAutomaticConsumersToUseIt() throws Exception- Throws:
Exception
-
shouldStartClusterAndAllowAsynchronousProductionAndAutomaticConsumersToUseIt
public void shouldStartClusterAndAllowAsynchronousProductionAndAutomaticConsumersToUseIt() throws Exception- Throws:
Exception
-
shouldSetClusterConfigProperty
public void shouldSetClusterConfigProperty() throws Exception- Throws:
Exception
-
shouldSetServerConfigProperty
public void shouldSetServerConfigProperty() throws Exception- Throws:
Exception
-
assertValidDataDirectory
protected void assertValidDataDirectory(File dir)
-
assertDoesNotExist
protected void assertDoesNotExist(File dir)
-
-