case class EmbeddedK(factory: Option[EmbeddedZ], broker: KafkaServer, logsDirs: Directory, config: EmbeddedKafkaConfig) extends EmbeddedServerWithKafka with Product with Serializable
An instance of an embedded Kafka server.
- factory
the optional EmbeddedZ server which Kafka relies upon.
- broker
the Kafka server.
- logsDirs
the Directory logs are to be written to.
- config
the EmbeddedKafkaConfig used to start the broker.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EmbeddedK
- Serializable
- Product
- Equals
- EmbeddedServerWithKafka
- EmbeddedServer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new EmbeddedK(factory: Option[EmbeddedZ], broker: KafkaServer, logsDirs: Directory, config: EmbeddedKafkaConfig)
- factory
the optional EmbeddedZ server which Kafka relies upon.
- broker
the Kafka server.
- logsDirs
the Directory logs are to be written to.
- config
the EmbeddedKafkaConfig used to start the broker.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val broker: KafkaServer
- Definition Classes
- EmbeddedK → EmbeddedServerWithKafka
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val config: EmbeddedKafkaConfig
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val factory: Option[EmbeddedZ]
- Definition Classes
- EmbeddedK → EmbeddedServerWithKafka
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logsDirs: Directory
- Definition Classes
- EmbeddedK → EmbeddedServerWithKafka
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def stop(clearLogs: Boolean): Unit
Shuts down the broker, the factory it relies upon, if defined, and the app, if defined.
Shuts down the broker, the factory it relies upon, if defined, and the app, if defined. Optionally deletes the log directory.
- clearLogs
pass
true
to recursively delete the log directory.
- Definition Classes
- EmbeddedK → EmbeddedServer
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()