RunningZooKeeperOps

io.github.embeddedkafka.ops.RunningZooKeeperOps

ZooKeeperOps extension relying on RunningServersOps for keeping track of running EmbeddedZ instances.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ZooKeeperOps & RunningServersOps

Members list

Value members

Concrete methods

def startZooKeeper(zkLogsDir: Path)(implicit config: EmbeddedKafkaConfig): EmbeddedZ

Starts a Zookeeper instance in memory, storing logs in a specific location.

Starts a Zookeeper instance in memory, storing logs in a specific location.

Value parameters

config

an implicit EmbeddedKafkaConfig

zkLogsDir

the path for the Zookeeper logs

Attributes

Returns

an EmbeddedZ server

def stopZooKeeper(): Unit

Stops all in memory Zookeeper instances, preserving the logs directories.

Stops all in memory Zookeeper instances, preserving the logs directories.

Attributes