- 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.
- 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.
- 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>) - 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.
- 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.
- 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.