Class ShardedMongoTests
java.lang.Object
io.debezium.testing.system.tests.ConnectorTest
io.debezium.testing.system.tests.mongodb.sharded.ShardedMongoTests
- Direct Known Subclasses:
OcpShardedMongoConnectorIT,OcpShardedReplicaMongoConnectorIT
-
Field Summary
Fields inherited from class io.debezium.testing.system.tests.ConnectorTest
assertions, connectController, connectorConfig, kafkaController -
Constructor Summary
ConstructorsConstructorDescriptionShardedMongoTests(io.debezium.testing.system.tools.kafka.KafkaController kafkaController, io.debezium.testing.system.tools.kafka.KafkaConnectController connectController, io.debezium.testing.system.tools.kafka.ConnectorConfigBuilder connectorConfig, KafkaAssertions<?, ?> assertions) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAndRemoveShardTest(io.debezium.testing.system.tools.databases.mongodb.OcpMongoShardedController dbController, String connectorName) voidinsertCustomer(io.debezium.testing.system.tools.databases.mongodb.MongoDatabaseController dbController, String firstName, String lastName, String email, long id) voidinsertProduct(io.debezium.testing.system.tools.databases.mongodb.MongoDatabaseController dbController, String name, String description, String weight, int quantity) voidremoveCustomer(io.debezium.testing.system.tools.databases.mongodb.MongoDatabaseController dbController, String email)
-
Constructor Details
-
ShardedMongoTests
public ShardedMongoTests(io.debezium.testing.system.tools.kafka.KafkaController kafkaController, io.debezium.testing.system.tools.kafka.KafkaConnectController connectController, io.debezium.testing.system.tools.kafka.ConnectorConfigBuilder connectorConfig, KafkaAssertions<?, ?> assertions)
-
-
Method Details
-
insertCustomer
-
removeCustomer
public void removeCustomer(io.debezium.testing.system.tools.databases.mongodb.MongoDatabaseController dbController, String email) -
insertProduct
-
addAndRemoveShardTest
protected void addAndRemoveShardTest(io.debezium.testing.system.tools.databases.mongodb.OcpMongoShardedController dbController, String connectorName) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-