Package io.debezium.relational.history
Class KafkaDatabaseHistoryTest
java.lang.Object
io.debezium.relational.history.KafkaDatabaseHistoryTest
- Author:
- Randall Hauch
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate KafkaDatabaseHistoryprivate static KafkaClusterprivate io.debezium.pipeline.spi.Offsets<io.debezium.pipeline.spi.Partition,io.debezium.connector.mysql.MySqlOffsetContext> private static final intprivate io.debezium.connector.mysql.MySqlOffsetContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidprotected voidsetLogPosition(int index) voidvoidvoidvoidvoidstatic voidstatic voidvoidprivate voidtestHistoryTopicContent(String topicName, boolean skipUnparseableDDL)
-
Field Details
-
kafka
-
history
-
offsets
private io.debezium.pipeline.spi.Offsets<io.debezium.pipeline.spi.Partition,io.debezium.connector.mysql.MySqlOffsetContext> offsets -
position
private io.debezium.connector.mysql.MySqlOffsetContext position -
PARTITION_NO
private static final int PARTITION_NO- See Also:
-
-
Constructor Details
-
KafkaDatabaseHistoryTest
public KafkaDatabaseHistoryTest()
-
-
Method Details
-
startKafka
- Throws:
Exception
-
stopKafka
public static void stopKafka() -
beforeEach
- Throws:
Exception
-
afterEach
public void afterEach() -
shouldStartWithEmptyTopicAndStoreDataAndRecoverAllState
- Throws:
Exception
-
testHistoryTopicContent
-
setLogPosition
protected void setLogPosition(int index) -
shouldIgnoreUnparseableMessages
- Throws:
Exception
-
shouldStopOnUnparseableSQL
- Throws:
Exception
-
testExists
public void testExists() -
differentiateStorageExistsFromHistoryExists
-
shouldValidateMandatoryValues
-
shouldConnectionTimeoutIfValueIsTooLow
-