EmbeddedK

io.github.embeddedkafka.EmbeddedK
case class EmbeddedK(broker: BrokerServer, controller: ControllerServer, logsDirs: Path, config: EmbeddedKafkaConfig)

An instance of an embedded Kafka server.

Value parameters

broker

the Kafka broker server.

config

the EmbeddedKafkaConfig used to start the broker.

controller

the Kafka controller server.

logsDirs

the directory logs are to be written to.

Attributes

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 and controller, and the app, if defined. Optionally deletes the log directory.

Shuts down the broker and controller, 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