Annotation Type EmbeddedZookeeperServer
-
@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited @TestExecutionListeners(listeners=io.microsphere.spring.test.zookeeper.embedded.EmbeddedZookeeperServerTestExecutionListener.class, mergeMode=MERGE_WITH_DEFAULTS) public @interface EmbeddedZookeeperServerThe annotation to startup the Embedded Zookeeper server for Spring integration testing.- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
Context
-
-
-
dataDir
java.lang.String dataDir
The resource location of the Zookeeper ServerThe value supports two types of locations:
- File System, e.g: /tmp/catalina
- Spring Resource location, e.g: classpath:/catalina, file:/temp/catalina
- Returns:
- the default value of basedir : The "java.io.tmpdir" system property (the directory where Java temporary directory) where a directory named Zookeeper Server.$PORT will be created. $PORT is the value configured via
- Default:
- "${java.io.tmpdir}/test-zookeeper-${port}"
-
-