public class BinlogReaderIT extends Object
| Modifier and Type | Field and Description |
|---|---|
private Configuration |
config |
private io.debezium.connector.mysql.MySqlTaskContext |
context |
private UniqueDatabase |
DATABASE |
private static Path |
DB_HISTORY_PATH |
private io.debezium.connector.mysql.BinlogReader |
reader |
private SchemaChangeHistory |
schemaChanges |
private static String |
SET_TLS_PROTOCOLS |
private KeyValueStore |
store |
| Constructor and Description |
|---|
BinlogReaderIT() |
private static final Path DB_HISTORY_PATH
private final UniqueDatabase DATABASE
private static final String SET_TLS_PROTOCOLS
private Configuration config
private io.debezium.connector.mysql.MySqlTaskContext context
private io.debezium.connector.mysql.BinlogReader reader
private KeyValueStore store
private SchemaChangeHistory schemaChanges
public void beforeEach()
public void afterEach()
protected int consumeAtLeast(int minNumber)
throws InterruptedException
InterruptedExceptionprotected int consumeAtLeast(int minNumber,
long timeout,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionprotected long filterAtLeast(int minNumber,
long timeout,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionprotected Configuration.Builder simpleConfig()
public void shouldCreateSnapshotOfSingleDatabase()
throws Exception
Exceptionpublic void shouldCreateSnapshotOfSingleDatabaseWithSchemaChanges()
throws Exception
Exception@FixFor(value="DBZ-1206") public void shouldFilterAllRecordsBasedOnDatabaseWhitelistFilter() throws Exception
Exception@FixFor(value="DBZ-183") public void shouldHandleTimestampTimezones() throws Exception
Exception@FixFor(value="DBZ-342") public void shouldHandleMySQLTimeCorrectly() throws Exception
Exceptionpublic void shouldFailOnSchemaInconsistency()
throws Exception
Exceptionpublic void shouldWarnOnSchemaInconsistency()
throws Exception
Exceptionpublic void shouldIgnoreOnSchemaInconsistency()
throws Exception
Exception@FixFor(value="DBZ-1208") public void shouldFailOnUnknownTlsProtocol()
private void inconsistentSchema(io.debezium.connector.mysql.MySqlConnectorConfig.EventProcessingFailureHandlingMode mode)
throws InterruptedException,
SQLException
InterruptedExceptionSQLExceptionprivate String productsTableName()
Copyright © 2019 JBoss by Red Hat. All rights reserved.