use of org.apache.rocketmq.connect.redis.connector.RedisSourceConnector in project rocketmq-externals by apache.
the class RedisSourceConnectorTest method testConnector.
@Test
public void testConnector() {
RedisSourceConnector connector = new RedisSourceConnector();
connector.verifyAndSetConfig(this.keyValue);
Class cl = connector.taskClass();
Assert.assertNotNull(cl);
List<KeyValue> keyValues = connector.taskConfigs();
Assert.assertNotNull(keyValues);
connector.start();
connector.pause();
connector.resume();
connector.stop();
}
Aggregations