Java Code Examples for com.alibaba.otter.canal.common.zookeeper.ZookeeperPathUtils#getDestinationPath()

The following examples show how to use com.alibaba.otter.canal.common.zookeeper.ZookeeperPathUtils#getDestinationPath() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ServerRunningTest.java    From canal with Apache License 2.0 5 votes vote down vote up
@Before
public void setUp() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);

    zkclientx.createPersistent(ZookeeperPathUtils.getDestinationPath(destination), true);
}
 
Example 2
Source File: PeriodMixedLogPositionManagerTest.java    From canal-1.1.3 with Apache License 2.0 4 votes vote down vote up
@Before
public void setUp() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 3
Source File: PeriodMixedMetaManagerTest.java    From canal with Apache License 2.0 4 votes vote down vote up
@After
public void tearDown() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 4
Source File: PeriodMixedMetaManagerTest.java    From canal with Apache License 2.0 4 votes vote down vote up
@Before
public void setUp() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 5
Source File: ServerRunningTest.java    From canal-1.1.3 with Apache License 2.0 4 votes vote down vote up
@After
public void tearDown() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 6
Source File: PeriodMixedLogPositionManagerTest.java    From canal with Apache License 2.0 4 votes vote down vote up
@Before
public void setUp() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 7
Source File: MetaLogPositionManagerTest.java    From canal-1.1.3 with Apache License 2.0 4 votes vote down vote up
@After
public void tearDown() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 8
Source File: ServerRunningTest.java    From canal with Apache License 2.0 4 votes vote down vote up
@After
public void tearDown() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 9
Source File: MetaLogPositionManagerTest.java    From canal with Apache License 2.0 4 votes vote down vote up
@Before
public void setUp() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 10
Source File: MixedMetaManagerTest.java    From canal with Apache License 2.0 4 votes vote down vote up
@After
public void tearDown() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 11
Source File: PeriodMixedLogPositionManagerTest.java    From canal-1.1.3 with Apache License 2.0 4 votes vote down vote up
@After
public void tearDown() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 12
Source File: ZooKeeperMetaManagerTest.java    From canal with Apache License 2.0 4 votes vote down vote up
@Before
public void setUp() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 13
Source File: MixedLogPositionManagerTest.java    From canal-1.1.3 with Apache License 2.0 4 votes vote down vote up
@After
public void tearDown() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 14
Source File: MixedLogPositionManagerTest.java    From canal-1.1.3 with Apache License 2.0 4 votes vote down vote up
@Before
public void setUp() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 15
Source File: MixedLogPositionManagerTest.java    From canal with Apache License 2.0 4 votes vote down vote up
@Before
public void setUp() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 16
Source File: MixedMetaManagerTest.java    From canal-1.1.3 with Apache License 2.0 4 votes vote down vote up
@After
public void tearDown() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 17
Source File: MixedMetaManagerTest.java    From canal-1.1.3 with Apache License 2.0 4 votes vote down vote up
@Before
public void setUp() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 18
Source File: ZooKeeperMetaManagerTest.java    From canal-1.1.3 with Apache License 2.0 4 votes vote down vote up
@After
public void tearDown() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 19
Source File: ZooKeeperMetaManagerTest.java    From canal with Apache License 2.0 4 votes vote down vote up
@After
public void tearDown() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}
 
Example 20
Source File: MixedMetaManagerTest.java    From canal with Apache License 2.0 4 votes vote down vote up
@Before
public void setUp() {
    String path = ZookeeperPathUtils.getDestinationPath(destination);
    zkclientx.deleteRecursive(path);
}