Created
February 28, 2015 07:34
-
-
Save itang/2c2fee177b80846ae163 to your computer and use it in GitHub Desktop.
ZKServer-embedded
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.curator.test.TestingServer | |
object Main { | |
var zkServer: TestingServer = _ | |
def main(args: Array[String]): Unit = { | |
zkServer = new TestingServer(3181) | |
zkServer.start() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment