EmbeddedK

io.github.embeddedkafka.EmbeddedK
See theEmbeddedK companion object
case class EmbeddedK(factory: Option[EmbeddedZ], broker: KafkaServer, logsDirs: Path, config: EmbeddedKafkaConfig)

An instance of an embedded Kafka server.

Value parameters

broker

the Kafka server.

config

the EmbeddedKafkaConfig used to start the broker.

factory

the optional EmbeddedZ server which Kafka relies upon.

logsDirs

the directory logs are to be written to.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def stop(clearLogs: Boolean): Unit

Shuts down the broker, the factory it relies upon, if defined, and the app, if defined. Optionally deletes the log directory.

Shuts down the broker, the factory it relies upon, if defined, and the app, if defined. Optionally deletes the log directory.

Value parameters

clearLogs

pass true to recursively delete the log directory.

Attributes

Definition Classes
EmbeddedServer

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product