- 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
-
- configure(Map<String, ?>) - Method in class io.debezium.embedded.EmbeddedEngineTest.FilterTransform
-
- configValue(Config, String) - Method in class io.debezium.embedded.AbstractConnectorTest
-
- configVariables(Configuration) - Static method in interface io.debezium.embedded.AvailableVariables
-
- 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.
- 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
-
- consumeLines(int) - Method in class io.debezium.embedded.EmbeddedEngineTest
-
- 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, int) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Try to consume and capture exactly the specified number of records from the connector.
- 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.
- 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
-
- 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(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.
- 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(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.
- 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
-
- restartRequested() - Method in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
-
- result - Variable in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
-
- 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, 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, String, String, String) - Method in class io.debezium.embedded.ConnectorOutputTest
-
Run the connector described by the supplied test specification.
- runConnector(String, Path, Path, Path) - Method in class io.debezium.embedded.ConnectorOutputTest
-
Run the connector described by the supplied test specification.
- 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.
- SchemaAndValueConverter(Configuration, boolean) - Constructor for class io.debezium.embedded.ConnectorOutputTest.SchemaAndValueConverter
-
- 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
-
- setConsumeTimeout(long, TimeUnit) - Method in class io.debezium.embedded.AbstractConnectorTest
-
- 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
-
- 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 RetriableException is 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
-
- shouldStartAndUseFileConnectorUsingMemoryOffsetStorage() - Method in class io.debezium.embedded.EmbeddedEngineTest
-
- shouldWorkToUseCustomChangeConsumer() - Method in class io.debezium.embedded.EmbeddedEngineTest
-
- SimpleSourceConnectorOutputTest - Class in io.debezium.connector.simple
-
A test case for the
SimpleSourceConnector that is also able to test and verify the behavior of
ConnectorOutputTest.
- SimpleSourceConnectorOutputTest() - Constructor for class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
-
- skipTestRule - Variable in class io.debezium.embedded.AbstractConnectorTest
-
- SourceRecords() - Constructor for class io.debezium.embedded.AbstractConnectorTest.SourceRecords
-
- 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, 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.
- start(Class<? extends SourceConnector>, Configuration, EmbeddedEngine.CompletionCallback) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Start the connector using the supplied connector configuration.
- start(Class<? extends SourceConnector>, Configuration, EmbeddedEngine.CompletionCallback, Predicate<SourceRecord>) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Start the connector using the supplied connector configuration.
- stop() - Method in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
-
- 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.
- systemVariables(Configuration) - Static method in interface io.debezium.embedded.AvailableVariables
-
- waitForAvailableRecords(long, TimeUnit) - Method in class io.debezium.embedded.AbstractConnectorTest
-
Wait for a maximum amount of time until the first record is available.
- 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
-
- 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(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.
- 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.
- 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(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.TestData that 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.TestData that can capture
the connector output as expected records.
- 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.TestData that can capture
the connector output as expected records.