Skip navigation links
Debezium Embedded 1.1.0.Beta1
A B C D E F G I J K L M N O P R S T U V W 

A

AbstractConnectorTest - Class in io.debezium.embedded
An abstract base class for unit testing SourceConnector implementations using the Debezium EmbeddedEngine with local file storage.
AbstractConnectorTest() - Constructor for class io.debezium.embedded.AbstractConnectorTest
 
AbstractConnectorTest.SourceRecords - Class in io.debezium.embedded
 
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 AvailableVariables function 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
 
applyCommand(Document, ConnectorOutputTest.ConsumerCompletion) - Method in class io.debezium.embedded.ConnectorOutputTest
 
assertBeginTransaction(SourceRecord) - 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
 
assertConfigurationErrors(Config, Field) - 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, Map<String, ?>) - Method in class io.debezium.embedded.AbstractConnectorTest
 
assertOffset(SourceRecord, String, Object) - Method in class io.debezium.embedded.AbstractConnectorTest
 
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 Struct is valid and its schema matches that of the supplied schema.
assertSchemaMatchesStruct(Struct, Schema) - Method in class io.debezium.embedded.AbstractConnectorTest
Assert that the supplied Struct is valid and its schema matches that of the supplied schema.
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, String, int) - Method in class io.debezium.embedded.AbstractConnectorTest
 
assertTombstone(SourceRecord) - 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.
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
Get an AvailableVariables that returns the value of a Configuration 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.
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
 

D

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
 
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
 
empty() - Static method in interface io.debezium.embedded.AvailableVariables
Get an AvailableVariables that 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 AvailableVariables that returns System environment variables set with operating system environment variables (e.g., ${JAVA_HOME}).
error() - Method in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
 
exception() - Method in class io.debezium.embedded.ConnectorOutputTest.ConsumerCompletion
 
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

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
 
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), or AbstractConnectorTest.consumeRecords(int, Consumer).
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
 
io.debezium.connector.simple - package io.debezium.connector.simple
 
io.debezium.embedded - package io.debezium.embedded
 
isCommand(Document) - Method in class io.debezium.embedded.ConnectorOutputTest
 
isEndCommand(Document) - Method in class io.debezium.embedded.ConnectorOutputTest
 

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.CompletionCallback that 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
 
MismatchRecordException - Exception in io.debezium.embedded
 
MismatchRecordException(String, Queue<SourceRecord>, Queue<SourceRecord>) - Constructor for exception io.debezium.embedded.MismatchRecordException
 
MismatchRecordException(AssertionError, 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
 
NO_MONITORED_TABLES_WARNING - Static variable in class io.debezium.embedded.AbstractConnectorTest
 
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

pollTimeoutInMs - Variable in class io.debezium.embedded.AbstractConnectorTest
 
print(SourceRecord) - Method in class io.debezium.embedded.AbstractConnectorTest
 
print() - Method in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
 

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

S

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
Set the maximum amount of time that the AbstractConnectorTest.consumeRecord(), AbstractConnectorTest.consumeRecords(int), and AbstractConnectorTest.consumeRecords(int, Consumer) methods block while waiting for each record before returning null.
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
 
shouldGenerateExpected() - Method in class io.debezium.connector.simple.SimpleSourceConnectorOutputTest
Run the connector with no known expected results so that it generates the results.
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.
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
Get an AvailableVariables that returns System properties set with -Dvariable=value.

T

TEST_FILE_PATH - Static variable in class io.debezium.embedded.EmbeddedEngineTest
 
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
 
topics() - Method in class io.debezium.embedded.AbstractConnectorTest.SourceRecords
Get the set of topics for which records were received.

U

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, 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, 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, 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 equivalent SourceRecord.
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.
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.
A B C D E F G I J K L M N O P R S T U V W 
Skip navigation links
Debezium Embedded 1.1.0.Beta1

Copyright © 2020 JBoss by Red Hat. All rights reserved.