Search in sources :

Example 1 with MongoClientFactory

use of org.apache.connect.mongo.replicator.MongoClientFactory in project rocketmq-externals by apache.

the class MongoFactoryTest method before.

@Before
public void before() {
    this.replicaSetConfig = new ReplicaSetConfig("shardName1", "rep1", "127.0.0.1:27027");
    this.sourceTaskConfig = new SourceTaskConfig();
    this.mongoClientFactory = new MongoClientFactory(sourceTaskConfig);
}
Also used : ReplicaSetConfig(org.apache.connect.mongo.replicator.ReplicaSetConfig) MongoClientFactory(org.apache.connect.mongo.replicator.MongoClientFactory) Before(org.junit.Before)

Aggregations

MongoClientFactory (org.apache.connect.mongo.replicator.MongoClientFactory)1 ReplicaSetConfig (org.apache.connect.mongo.replicator.ReplicaSetConfig)1 Before (org.junit.Before)1