A B C D E F G I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractConnectorTest - Class in io.debezium.embedded
-
An abstract base class for unit testing
SourceConnectorimplementations using the DebeziumEmbeddedEnginewith local file storage. - AbstractConnectorTest() - Constructor for class io.debezium.embedded.AbstractConnectorTest
- AbstractConnectorTest.SourceRecords - Class in io.debezium.embedded
- AbstractIncrementalSnapshotTest<T extends org.apache.kafka.connect.source.SourceConnector> - Class in io.debezium.pipeline.source.snapshot.incremental
- AbstractIncrementalSnapshotTest() - Constructor for class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- actualRecords - Variable in exception io.debezium.embedded.MismatchRecordException
- add(SourceRecord) - Method in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
- addValueComparatorsByFieldPath(BiConsumer<String, VerifyRecord.RecordValueComparator>) - Method in class io.debezium.embedded.ConnectorOutputTest
- addValueComparatorsBySchemaName(BiConsumer<String, VerifyRecord.RecordValueComparator>) - Method in class io.debezium.embedded.ConnectorOutputTest
- afterEachTestMethod() - Method in class io.debezium.embedded.ConnectorOutputTest
- allRecordsInOrder() - Method in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
- and(AvailableVariables) - Method in interface io.debezium.embedded.AvailableVariables
-
Obtain an
AvailableVariablesfunction that first checks this instance and then checks the supplied instance. - appendCommand(Path, Document) - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
- appendLinesToSource(int) - Method in class io.debezium.embedded.EmbeddedEngineTest
- appendStop(Path) - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
- apply(SourceRecord) - Method in class io.debezium.embedded.EmbeddedEngineTest.FilterTransform
- applyCommand(Document, ConnectorOutputTest.ConsumerCompletion) - Method in class io.debezium.embedded.ConnectorOutputTest
- assertBeginTransaction(SourceRecord) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertConfigurationErrors(Config, Field) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertConfigurationErrors(Config, Field, int) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertConfigurationErrors(Config, Field, int, int) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertConnectorIsRunning() - Method in class io.debezium.embedded.AbstractConnectorTest
-
Assert that the connector is currently running.
- assertConnectorNotRunning() - Method in class io.debezium.embedded.AbstractConnectorTest
-
Assert that the connector is NOT currently running.
- assertDelete(SourceRecord, String, int) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertEndTransaction(SourceRecord, String, long, Map<String, Number>) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertEngineIsRunning() - Method in class io.debezium.embedded.AbstractConnectorTest
-
Assert that there was no exception in engine that would cause its termination.
- assertExpectedRecords(Path, int, int) - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
- assertFieldSchema(Document, String, Schema.Type, boolean) - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
- assertHasNoSourceQuery(SourceRecord) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertInsert(SourceRecord, String, int) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertKey(SourceRecord, String, int) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertNoConfigurationErrors(Config, Field...) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertNoRecordsToConsume() - Method in class io.debezium.embedded.AbstractConnectorTest
-
Assert that there are no records to consume.
- assertOffset(SourceRecord, String, Object) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertOffset(SourceRecord, Map<String, ?>) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertOnlyTransactionRecordsToConsume() - Method in class io.debezium.embedded.AbstractConnectorTest
-
Assert that there are only transaction topic records to be consumed.
- assertOptionalFieldSchema(Document, String, Schema.Type) - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
- assertRecordTransactionMetadata(SourceRecord, String, long, long) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertRequiredFieldSchema(Document, String, Schema.Type) - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
- assertSameValue(Object, Object) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertSchemaMatchesStruct(SchemaAndValue) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Assert that the supplied
Structisvalidand itsschemamatches that of the suppliedschema. - assertSchemaMatchesStruct(Struct, Schema) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Assert that the supplied
Structisvalidand itsschemamatches that of the suppliedschema. - assertSourceQuery(SourceRecord, String) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertSourceRecordMatch(SourceRecord, SourceRecord, Predicate<String>, Map<String, VerifyRecord.RecordValueComparator>, Map<String, VerifyRecord.RecordValueComparator>) - Method in class io.debezium.embedded.ConnectorOutputTest
- assertTombstone(SourceRecord) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertTombstone(SourceRecord, String, int) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertUpdate(SourceRecord, String, int) - Method in class io.debezium.embedded.AbstractConnectorTest
- assertValueField(SourceRecord, String, Object) - Method in class io.debezium.embedded.AbstractConnectorTest
- AvailableVariables - Interface in io.debezium.embedded
-
A functional interface for obtaining the value of variables given their names.
B
- beforeEach() - Method in class io.debezium.embedded.EmbeddedEngineTest
- builtInVariables() - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
C
- cachedData - Variable in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
- cleanOffsetStorage() - Method in class io.debezium.embedded.ConnectorOutputTest
- close() - Method in class io.debezium.embedded.ConnectorOutputTest.SchemaAndValueConverter
- close() - Method in interface io.debezium.embedded.ConnectorOutputTest.TestData
-
If records are being recorded, then complete writing them and close all resources associated with the test data.
- close() - Method in class io.debezium.embedded.EmbeddedEngineTest.FilterTransform
- config - Variable in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
- config() - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Get the connector's configuration as would normally be passed to Kafka Connect when deploying the connector.
- config() - Method in class io.debezium.embedded.EmbeddedEngineTest.FilterTransform
- config() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- configure(Map<String, ?>) - Method in class io.debezium.embedded.EmbeddedEngineTest.FilterTransform
- configure(WorkerConfig) - Method in class io.debezium.embedded.InterruptingOffsetStore
- configValue(Config, String) - Method in class io.debezium.embedded.AbstractConnectorTest
- configVariables(Configuration) - Static method in interface io.debezium.embedded.AvailableVariables
-
Get an
AvailableVariablesthat returns the value of aConfiguration property. - CONNECTOR_OUTPUT_PATH - Static variable in class io.debezium.embedded.ConnectorOutputTest
-
Before each test this class will delete the "target/connector-output" directory under the project in which the test is run.
- connectorClass() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- connectorConfig - Variable in class io.debezium.embedded.EmbeddedEngineTest
- ConnectorOutputTest - Class in io.debezium.embedded
-
A base class for classes the define integration tests for connectors that verify the output of a connector matches an expected sequence of change event records.
- ConnectorOutputTest() - Constructor for class io.debezium.embedded.ConnectorOutputTest
- ConnectorOutputTest.ConsumerCompletion - Class in io.debezium.embedded
- ConnectorOutputTest.ExecutionResult - Enum in io.debezium.embedded
- ConnectorOutputTest.InputStreamSupplier - Interface in io.debezium.embedded
- ConnectorOutputTest.OutputStreamSupplier - Interface in io.debezium.embedded
- ConnectorOutputTest.SchemaAndValueConverter - Class in io.debezium.embedded
- ConnectorOutputTest.TestData - Interface in io.debezium.embedded
- ConnectorOutputTest.TestSpecification - Class in io.debezium.embedded
- ConnectorOutputTest.VariableSupplier - Interface in io.debezium.embedded
- consumeAvailableRecords(Consumer<SourceRecord>) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Try to consume all of the messages that have already been returned by the connector.
- consumedLines - Variable in class io.debezium.embedded.AbstractConnectorTest
- consumeDmlRecordsByTopic(int) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Try to consume and capture exactly the specified number of Dml records from the connector.
- consumeDmlRecordsByTopic(int, int, Consumer<SourceRecord>, boolean) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Try to consume the specified number of records from the connector, calling the given function for each, and return the actual number of Dml records that were consumed.
- consumeDmlRecordsByTopic(int, Consumer<SourceRecord>) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Try to consume the specified number of records from the connector, calling the given function for each, and return the actual number of Dml records that were consumed.
- consumeLines(int) - Method in class io.debezium.embedded.EmbeddedEngineTest
- consumeMixedWithIncrementalSnapshot(int) - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- consumeMixedWithIncrementalSnapshot(int, Predicate<Map.Entry<Integer, Integer>>, Consumer<List<SourceRecord>>) - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- consumeMixedWithIncrementalSnapshot(int, Predicate<Map.Entry<Integer, Integer>>, Function<Struct, Integer>, String, Consumer<List<SourceRecord>>) - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- ConsumerCompletion() - Constructor for class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
- consumeRecord() - Method in class io.debezium.embedded.AbstractConnectorTest
-
Consume a single record from the connector.
- consumeRecords(int) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Try to consume the specified number of records from the connector, and return the actual number of records that were consumed.
- consumeRecords(int, int, Consumer<SourceRecord>, boolean) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Try to consume the specified number of records from the connector, calling the given function for each, and return the actual number of records that were consumed.
- consumeRecords(int, Consumer<SourceRecord>) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Try to consume the specified number of records from the connector, calling the given function for each, and return the actual number of records that were consumed.
- consumeRecordsByTopic(int) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Try to consume and capture exactly the specified number of records from the connector.
- consumeRecordsByTopic(int, boolean) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Try to consume and capture exactly the specified number of records from the connector.
- consumeRecordsByTopic(int, int) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Try to consume and capture exactly the specified number of records from the connector.
- CONTROL_END - Static variable in class io.debezium.embedded.ConnectorOutputTest
- CONTROL_KEY - Static variable in class io.debezium.embedded.ConnectorOutputTest
- CONTROL_RESTART - Static variable in class io.debezium.embedded.ConnectorOutputTest
- CONTROL_STOP - Static variable in class io.debezium.embedded.ConnectorOutputTest
D
- databaseConnection() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- databaseNames() - Method in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
-
Get the names of the databases that were affected by the DDL statements.
- dataSupplier - Variable in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
- DB_HISTORY_PATH - Static variable in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- ddlRecordsByDbName - Variable in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
- ddlRecordsForDatabase(String) - Method in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
-
Get the DDL events for the named database.
- debug(SourceRecord) - Method in class io.debezium.embedded.AbstractConnectorTest
- DEFAULT_CONNECTOR_PROPERTIES_FILENAME - Static variable in class io.debezium.embedded.ConnectorOutputTest
- DEFAULT_ENV_PROPERTIES_FILENAME - Static variable in class io.debezium.embedded.ConnectorOutputTest
- DEFAULT_EXPECTED_RECORDS_FILENAME - Static variable in class io.debezium.embedded.ConnectorOutputTest
- deserialize(String, Document) - Method in class io.debezium.embedded.ConnectorOutputTest.SchemaAndValueConverter
E
- EmbeddedEngineTest - Class in io.debezium.embedded
- EmbeddedEngineTest() - Constructor for class io.debezium.embedded.EmbeddedEngineTest
- EmbeddedEngineTest.FilterTransform - Class in io.debezium.embedded
- empty() - Static method in interface io.debezium.embedded.AvailableVariables
-
Get an
AvailableVariablesthat always returns null. - engine - Variable in class io.debezium.embedded.AbstractConnectorTest
- env - Variable in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
- ENV_CONNECTOR_TIMEOUT_IN_SECONDS - Static variable in class io.debezium.embedded.ConnectorOutputTest
- ENV_IGNORE_FIELDS - Static variable in class io.debezium.embedded.ConnectorOutputTest
- environment() - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Get the configuration of the test environment.
- environmentVariables(Configuration) - Static method in interface io.debezium.embedded.AvailableVariables
-
Get an
AvailableVariablesthat returnsSystem environment variablesset with operating system environment variables (e.g.,${JAVA_HOME}). - error() - Method in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
- ERROR - io.debezium.embedded.ConnectorOutputTest.ExecutionResult
-
The connector stopped after actual records did not match expected records.
- exception() - Method in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
- EXCEPTION - io.debezium.embedded.ConnectorOutputTest.ExecutionResult
-
The connector stopped after an unknown error or problem.
- ExecutionResult() - Constructor for enum io.debezium.embedded.ConnectorOutputTest.ExecutionResult
- executor - Variable in class io.debezium.embedded.AbstractConnectorTest
- expectedRecords - Variable in exception io.debezium.embedded.MismatchRecordException
F
- FilterTransform() - Constructor for class io.debezium.embedded.EmbeddedEngineTest.FilterTransform
- fixedSizeQueue(int) - Method in class io.debezium.embedded.ConnectorOutputTest
- forEach(Consumer<SourceRecord>) - Method in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
- forEachInTopic(String, Consumer<SourceRecord>) - Method in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
G
- generateLine(int) - Method in class io.debezium.embedded.EmbeddedEngineTest
- get() - Method in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
- get() - Method in interface io.debezium.embedded.ConnectorOutputTest.InputStreamSupplier
- get() - Method in interface io.debezium.embedded.ConnectorOutputTest.OutputStreamSupplier
- get(Configuration) - Method in interface io.debezium.embedded.ConnectorOutputTest.VariableSupplier
- get(Collection<ByteBuffer>) - Method in class io.debezium.embedded.InterruptingOffsetStore
- getActualRecords() - Method in exception io.debezium.embedded.MismatchRecordException
- getAffectedDatabase(SourceRecord) - Method in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
- getCommand(Document) - Method in class io.debezium.embedded.ConnectorOutputTest
- getError() - Method in exception io.debezium.embedded.MismatchRecordException
- getExpectedRecords() - Method in exception io.debezium.embedded.MismatchRecordException
- getMaximumEnqueuedRecordCount() - Method in class io.debezium.embedded.AbstractConnectorTest
-
Get the maximum number of messages that can be obtained from the connector and held in-memory before they are consumed by test methods using
AbstractConnectorTest.consumeRecord(),AbstractConnectorTest.consumeRecords(int), orAbstractConnectorTest.consumeRecords(int, Consumer). - getMaximumEnqueuedRecordCount() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- getSnapshotMetricsObjectName(String, String) - Static method in class io.debezium.embedded.AbstractConnectorTest
- getStreamingMetricsObjectName(String, String) - Static method in class io.debezium.embedded.AbstractConnectorTest
- getStreamingMetricsObjectName(String, String, String) - Static method in class io.debezium.embedded.AbstractConnectorTest
- getStreamingNamespace() - Static method in class io.debezium.embedded.AbstractConnectorTest
- globallyIgnorableFieldNames() - Method in class io.debezium.embedded.ConnectorOutputTest
-
Return the names of the fields that should always be ignored for all tests.
I
- initializeConnectorTestFramework() - Method in class io.debezium.embedded.AbstractConnectorTest
- inputFile - Variable in class io.debezium.embedded.EmbeddedEngineTest
- inserts() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- InterruptedConnector - Class in io.debezium.embedded
- InterruptedConnector() - Constructor for class io.debezium.embedded.InterruptedConnector
- interruptedOffsetCommitShutsDown() - Method in class io.debezium.embedded.EmbeddedEngineTest
- InterruptedTask - Class in io.debezium.embedded
- InterruptedTask() - Constructor for class io.debezium.embedded.InterruptedTask
- interruptedTaskShutsDown() - Method in class io.debezium.embedded.EmbeddedEngineTest
- InterruptingOffsetStore - Class in io.debezium.embedded
- InterruptingOffsetStore() - Constructor for class io.debezium.embedded.InterruptingOffsetStore
- invalidSmt() - Method in class io.debezium.embedded.EmbeddedEngineTest
- invalidTablesInTheList() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- io.debezium.connector.simple - package io.debezium.connector.simple
- io.debezium.embedded - package io.debezium.embedded
- io.debezium.pipeline.source.snapshot.incremental - package io.debezium.pipeline.source.snapshot.incremental
- isCommand(Document) - Method in class io.debezium.embedded.ConnectorOutputTest
- isEndCommand(Document) - Method in class io.debezium.embedded.ConnectorOutputTest
- isStreamingRunning(String, String) - Static method in class io.debezium.embedded.AbstractConnectorTest
- isStreamingRunning(String, String, String) - Static method in class io.debezium.embedded.AbstractConnectorTest
- isTransactionRecord(SourceRecord) - Method in class io.debezium.embedded.AbstractConnectorTest
J
- jsonConverter - Variable in class io.debezium.embedded.ConnectorOutputTest.SchemaAndValueConverter
- jsonDeserializer - Variable in class io.debezium.embedded.ConnectorOutputTest.SchemaAndValueConverter
- jsonReader - Variable in class io.debezium.embedded.ConnectorOutputTest.SchemaAndValueConverter
- jsonSerializer - Variable in class io.debezium.embedded.ConnectorOutputTest.SchemaAndValueConverter
K
- keyJsonConverter - Variable in class io.debezium.embedded.AbstractConnectorTest
- keyJsonDeserializer - Variable in class io.debezium.embedded.AbstractConnectorTest
L
- latch - Variable in class io.debezium.embedded.AbstractConnectorTest
- linesAdded - Variable in class io.debezium.embedded.EmbeddedEngineTest
- logger - Variable in class io.debezium.embedded.AbstractConnectorTest
- loggingCompletion() - Method in class io.debezium.embedded.AbstractConnectorTest
-
Create a
EmbeddedEngine.CompletionCallbackthat logs when the engine fails to start the connector or when the connector stops running after completing successfully or due to an error - logTestName - Variable in class io.debezium.embedded.AbstractConnectorTest
M
- mapper - Variable in class io.debezium.embedded.ConnectorOutputTest.SchemaAndValueConverter
- MAXIMUM_NO_RECORDS_CONSUMES - Static variable in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- MismatchRecordException - Exception in io.debezium.embedded
- MismatchRecordException(AssertionError, String, Queue<SourceRecord>, Queue<SourceRecord>) - Constructor for exception io.debezium.embedded.MismatchRecordException
- MismatchRecordException(String, Queue<SourceRecord>, Queue<SourceRecord>) - Constructor for exception io.debezium.embedded.MismatchRecordException
N
- name - Variable in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
- name() - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Get the name of this test.
- nextConsumedLineNumber - Variable in class io.debezium.embedded.EmbeddedEngineTest
- NUMBER_OF_LINES - Static variable in class io.debezium.embedded.EmbeddedEngineTest
O
- OFFSET_STORE_PATH - Static variable in class io.debezium.embedded.AbstractConnectorTest
- OFFSET_STORE_PATH - Static variable in class io.debezium.embedded.ConnectorOutputTest
- OffsetCommitPolicyTest - Class in io.debezium.embedded
- OffsetCommitPolicyTest() - Constructor for class io.debezium.embedded.OffsetCommitPolicyTest
P
- pkFieldName() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- poll() - Method in class io.debezium.embedded.InterruptedTask
- pollTimeoutInMs - Variable in class io.debezium.embedded.AbstractConnectorTest
- populate4PkTable(JdbcConnection, String) - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- populateTable() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- populateTable(JdbcConnection) - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- populateTable(JdbcConnection, String) - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- print() - Method in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
- print(SourceRecord) - Method in class io.debezium.embedded.AbstractConnectorTest
R
- read() - Method in interface io.debezium.embedded.ConnectorOutputTest.TestData
-
Read the records that are expected by the test.
- readConfiguration(Path) - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
- readJsonTestData(ConnectorOutputTest.InputStreamSupplier) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the test data read from the specified input stream.
- readJsonTestData(File) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the test data read from the specified file.
- readJsonTestData(Path) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the test data read from the specified file.
- readLastCommittedOffset(Configuration, Map<String, T>) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Utility to read the last committed offset for the specified partition.
- readLastCommittedOffsets(Configuration, Collection<Map<String, T>>) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Utility to read the last committed offsets for the specified partitions.
- readResults(File) - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
- records - Variable in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
- recordsByTopic - Variable in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
- recordsForTopic(String) - Method in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
-
Get the records on the given topic.
- rehydrateSourceRecord(Document, ConnectorOutputTest.SchemaAndValueConverter, ConnectorOutputTest.SchemaAndValueConverter) - Method in class io.debezium.embedded.ConnectorOutputTest
- replaceVariables(InputStream, AvailableVariables) - Static method in class io.debezium.embedded.ConnectorOutputTest
-
Read the contents of the supplied
InputStream, replace all variables found in the content, and write the result to a temporary file. - reset() - Method in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
- RESTART_REQUESTED - io.debezium.embedded.ConnectorOutputTest.ExecutionResult
-
The connector stopped as requested in the expected results and is to be restarted.
- restartRequested() - Method in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
- result - Variable in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
- ROW_COUNT - Static variable in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- runConnector(ConnectorOutputTest.TestSpecification) - Method in class io.debezium.embedded.ConnectorOutputTest
-
Run the connector described by the supplied test specification.
- runConnector(ConnectorOutputTest.TestSpecification, EmbeddedEngine.CompletionCallback) - Method in class io.debezium.embedded.ConnectorOutputTest
-
Run the connector described by the supplied test specification.
- runConnector(String, String) - Method in class io.debezium.embedded.ConnectorOutputTest
-
Run the connector that uses the files in the given directory for the connector configuration, environment configuration, and expected results.
- runConnector(String, String, String, String) - Method in class io.debezium.embedded.ConnectorOutputTest
-
Run the connector described by the supplied test specification.
- runConnector(String, Path) - Method in class io.debezium.embedded.ConnectorOutputTest
-
Run the connector that uses the files in the given directory for the connector configuration, environment configuration, and expected results.
- runConnector(String, Path, Path, Path) - Method in class io.debezium.embedded.ConnectorOutputTest
-
Run the connector described by the supplied test specification.
S
- SchemaAndValueConverter(Configuration, boolean) - Constructor for class io.debezium.embedded.ConnectorOutputTest.SchemaAndValueConverter
- sendAdHocSnapshotSignal() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- sendAdHocSnapshotSignal(String...) - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- serialize(String, Schema, Object) - Method in class io.debezium.embedded.ConnectorOutputTest.SchemaAndValueConverter
- serializeSourceRecord(SourceRecord, ConnectorOutputTest.SchemaAndValueConverter, ConnectorOutputTest.SchemaAndValueConverter) - Method in class io.debezium.embedded.ConnectorOutputTest
-
Serialize the source record to document form.
- serialVersionUID - Static variable in exception io.debezium.embedded.MismatchRecordException
- set(Map<ByteBuffer, ByteBuffer>, Callback<Void>) - Method in class io.debezium.embedded.InterruptingOffsetStore
-
Implementation that throws InterruptedException when offset commits are called.
- setConsumeTimeout(long, TimeUnit) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Set the maximum amount of time that the
AbstractConnectorTest.consumeRecord(),AbstractConnectorTest.consumeRecords(int), andAbstractConnectorTest.consumeRecords(int, Consumer)methods block while waiting for each record before returningnull. - setResult(ConnectorOutputTest.ExecutionResult) - Method in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
- shouldAlwaysCommit() - Method in class io.debezium.embedded.OffsetCommitPolicyTest
- shouldCombineOnePolicyWithNull() - Method in class io.debezium.embedded.OffsetCommitPolicyTest
- shouldCombineTwoPolicies() - Method in class io.debezium.embedded.OffsetCommitPolicyTest
- shouldCommitPeriodically() - Method in class io.debezium.embedded.OffsetCommitPolicyTest
- shouldCommitPeriodicallyWithProperties() - Method in class io.debezium.embedded.OffsetCommitPolicyTest
- shouldExecuteSmt() - Method in class io.debezium.embedded.EmbeddedEngineTest
- shouldGenerateExpected() - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
-
Run the connector with no known expected results so that it generates the results.
- shouldRecoverFromRetriableException() - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
-
Run the connector and verify that
RetriableExceptionis handled. - shouldRunConnectorFromFilesAndFindMismatch() - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
-
Run the connector with connector configuration and expected results files, but find a mismatch in the results.
- shouldRunConnectorFromFilesInOneStep() - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
-
Run the connector with connector configuration and expected results files, which are read in one step.
- shouldRunConnectorFromFilesInOneStepWithTimestamps() - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
-
Run the connector with connector configuration and expected results files, which are read in one step.
- shouldRunConnectorFromFilesInTwoSteps() - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
-
Run the connector with connector configuration and expected results files, which are read in two steps.
- shouldRunDebeziumEngine() - Method in class io.debezium.embedded.EmbeddedEngineTest
- shouldRunDebeziumEngineWithJson() - Method in class io.debezium.embedded.EmbeddedEngineTest
- shouldRunEngineWithConsumerSettingOffsets() - Method in class io.debezium.embedded.EmbeddedEngineTest
- shouldStartAndUseFileConnectorUsingMemoryOffsetStorage() - Method in class io.debezium.embedded.EmbeddedEngineTest
- shouldWorkToUseCustomChangeConsumer() - Method in class io.debezium.embedded.EmbeddedEngineTest
- signalTableName() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- SimpleSourceConnectorOutputTest - Class in io.debezium.connector.simple
-
A test case for the
SimpleSourceConnectorthat is also able to test and verify the behavior ofConnectorOutputTest. - SimpleSourceConnectorOutputTest() - Constructor for class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
- skipAvroValidation - Variable in class io.debezium.embedded.AbstractConnectorTest
- skipAvroValidation() - Method in class io.debezium.embedded.AbstractConnectorTest
-
Disable record validation using Avro converter.
- skipTestRule - Variable in class io.debezium.embedded.AbstractConnectorTest
- snapshotOnly() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- snapshotOnlyWithRestart() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- SourceRecords() - Constructor for class io.debezium.embedded.AbstractConnectorTest.SourceRecords
- start() - Method in class io.debezium.embedded.InterruptingOffsetStore
- start(Class<? extends SourceConnector>, Configuration) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Start the connector using the supplied connector configuration, where upon completion the status of the connector is logged.
- start(Class<? extends SourceConnector>, Configuration, DebeziumEngine.CompletionCallback) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Start the connector using the supplied connector configuration.
- start(Class<? extends SourceConnector>, Configuration, DebeziumEngine.CompletionCallback, Predicate<SourceRecord>) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Start the connector using the supplied connector configuration.
- start(Class<? extends SourceConnector>, Configuration, DebeziumEngine.CompletionCallback, Predicate<SourceRecord>, Consumer<SourceRecord>, boolean) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Start the connector using the supplied connector configuration.
- start(Class<? extends SourceConnector>, Configuration, Predicate<SourceRecord>) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Start the connector using the supplied connector configuration, where upon completion the status of the connector is logged.
- startAndConsumeTillEnd(Class<? extends SourceConnector>, Configuration) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Start the connector using the supplied connector configuration, where upon completion the status of the connector is logged.
- startAndConsumeTillEnd(Class<? extends SourceConnector>, Configuration, Predicate<SourceRecord>) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Start the connector using the supplied connector configuration, where upon completion the status of the connector is logged.
- startConnector() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- startConnector(DebeziumEngine.CompletionCallback) - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- startConnector(Function<Configuration.Builder, Configuration.Builder>) - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- startConnector(Function<Configuration.Builder, Configuration.Builder>, DebeziumEngine.CompletionCallback) - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- stop() - Method in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
- stop() - Method in class io.debezium.embedded.InterruptingOffsetStore
- stopConnector() - Method in class io.debezium.embedded.AbstractConnectorTest
-
Stop the connector and block until the connector has completely stopped.
- stopConnector(BooleanConsumer) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Stop the connector, and return whether the connector was successfully stopped.
- STOPPED - io.debezium.embedded.ConnectorOutputTest.ExecutionResult
-
The connector stopped as requested in the expected results.
- systemVariables(Configuration) - Static method in interface io.debezium.embedded.AvailableVariables
T
- tableDataCollectionId() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- tableName() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- taskClass() - Method in class io.debezium.embedded.InterruptedConnector
- TEST_FILE_PATH - Static variable in class io.debezium.embedded.EmbeddedEngineTest
- TEST_PROPERTY_PREFIX - Static variable in class io.debezium.embedded.AbstractConnectorTest
- testData() - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Get the data for this test.
- TestSpecification(String, Configuration, Configuration, Function<ConnectorOutputTest.TestSpecification, ConnectorOutputTest.TestData>, AvailableVariables) - Constructor for class io.debezium.embedded.ConnectorOutputTest.TestSpecification
- toMap(Document) - Method in class io.debezium.embedded.ConnectorOutputTest
- TOPIC_NAME - Static variable in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
- topicName() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- topics() - Method in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
-
Get the set of topics for which records were received.
U
- updates() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- updatesLargeChunk() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- updatesWithRestart() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- uponCompletion - Variable in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
- uponCompletion(Runnable) - Method in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
- usingSpec(String) - Method in class io.debezium.embedded.ConnectorOutputTest
-
Create a new test specification with the given name.
- usingSpec(String, String) - Method in class io.debezium.embedded.ConnectorOutputTest
-
Create a new test specification that uses the files in the given directory for the connector configuration, environment configuration, and expected results.
- usingSpec(String, String, String, String) - Method in class io.debezium.embedded.ConnectorOutputTest
-
Create a new test specification that uses the given files for the configuration, environment, and expected results.
- usingSpec(String, Path) - Method in class io.debezium.embedded.ConnectorOutputTest
-
Create a new test specification that uses the files in the given directory for the connector configuration, environment configuration, and expected results.
- usingSpec(String, Path, Path, Path) - Method in class io.debezium.embedded.ConnectorOutputTest
-
Create a new test specification that uses the given files for the configuration, environment, and expected results.
- UTF8 - Static variable in class io.debezium.embedded.EmbeddedEngineTest
V
- validate(SourceRecord) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Validate that a
SourceRecord's key and value can each be converted to a byte[] and then back to an equivalentSourceRecord. - valueFieldName() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- valueJsonConverter - Variable in class io.debezium.embedded.AbstractConnectorTest
- valueJsonDeserializer - Variable in class io.debezium.embedded.AbstractConnectorTest
- valueOf(String) - Static method in enum io.debezium.embedded.ConnectorOutputTest.ExecutionResult
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.debezium.embedded.ConnectorOutputTest.ExecutionResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- variableForName(String) - Method in interface io.debezium.embedded.AvailableVariables
-
Obtain the value of a variable with the given name.
- variables - Variable in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
- variables() - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Get the system, environmental, and other variables.
W
- waitForAvailableRecords(long, TimeUnit) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Wait for a maximum amount of time until the first record is available.
- waitForConnectorShutdown(String, String) - Static method in class io.debezium.embedded.AbstractConnectorTest
- waitForConnectorToStart() - Method in class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
- waitForSnapshotToBeCompleted(String, String) - Static method in class io.debezium.embedded.AbstractConnectorTest
- waitForStreamingRunning(String, String) - Static method in class io.debezium.embedded.AbstractConnectorTest
- waitForStreamingRunning(String, String, String) - Static method in class io.debezium.embedded.AbstractConnectorTest
- waitTimeForRecords() - Static method in class io.debezium.embedded.AbstractConnectorTest
- waitTimeForRecordsAfterNulls() - Static method in class io.debezium.embedded.AbstractConnectorTest
- withConfiguration(Configuration) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the given configuration.
- withConfiguration(File) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the given configuration.
- withConfiguration(InputStream) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the given configuration.
- withEnvironment(Configuration) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the given environment.
- withEnvironment(File) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the given environment.
- withEnvironment(InputStream) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the given environment.
- withName(String) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the given name.
- withReadOrWriteTestData(File) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the test data read from or able to be written to the given file.
- withReadOrWriteTestData(Path) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the test data read from or able to be written to the given file.
- withTestData(Function<ConnectorOutputTest.TestSpecification, ConnectorOutputTest.TestData>) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the given data.
- withVariables(AvailableVariables) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the given variables.
- withVariables(ConnectorOutputTest.VariableSupplier) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with the given variables.
- write(Document) - Method in interface io.debezium.embedded.ConnectorOutputTest.TestData
-
Record the function that should be called with each of the actual records output by the connector.
- writeConfigurationFile(Path, Properties) - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
- writeConfigurationFileWithDefaultName(Path, Properties) - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
- writeEnvironmentFileWithDefaultName(Path, Properties) - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
- writeJsonTestData(ConnectorOutputTest.OutputStreamSupplier) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with a
ConnectorOutputTest.TestDatathat can capture the connector output as expected records. - writeJsonTestData(File) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with a
ConnectorOutputTest.TestDatathat can capture the connector output as expected records. - writeJsonTestData(Path) - Method in class io.debezium.embedded.ConnectorOutputTest.TestSpecification
-
Create a new test specification that is a copy of this specification except with a
ConnectorOutputTest.TestDatathat can capture the connector output as expected records.
All Classes All Packages