public class KafkaDatabaseHistoryTest extends Object
| Modifier and Type | Field and Description |
|---|---|
private io.debezium.relational.history.KafkaDatabaseHistory |
history |
private static KafkaCluster |
kafka |
private static int |
PARTITION_NO |
private Map<String,Object> |
position |
private Map<String,String> |
source |
| Constructor and Description |
|---|
KafkaDatabaseHistoryTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach() |
void |
beforeEach() |
void |
differentiateStorageExistsFromHistoryExists() |
protected void |
setLogPosition(int index) |
void |
shouldIgnoreUnparseableMessages() |
void |
shouldStartWithEmptyTopicAndStoreDataAndRecoverAllState() |
void |
shouldStopOnUnparseableSQL() |
void |
shouldValidateMandatoryValues() |
static void |
startKafka() |
static void |
stopKafka() |
void |
testExists() |
private void |
testHistoryTopicContent(String topicName,
boolean skipUnparseableDDL) |
private static KafkaCluster kafka
private io.debezium.relational.history.KafkaDatabaseHistory history
private static final int PARTITION_NO
public static void stopKafka()
public void afterEach()
public void shouldStartWithEmptyTopicAndStoreDataAndRecoverAllState()
throws Exception
Exceptionprivate void testHistoryTopicContent(String topicName, boolean skipUnparseableDDL)
protected void setLogPosition(int index)
public void shouldIgnoreUnparseableMessages()
throws Exception
Exceptionpublic void shouldStopOnUnparseableSQL()
throws Exception
Exceptionpublic void testExists()
@FixFor(value="DBZ-1886") public void differentiateStorageExistsFromHistoryExists()
Copyright © 2020 JBoss by Red Hat. All rights reserved.