case class EmbeddedK(factory: Option[EmbeddedZ], broker: KafkaServer, app: Option[EmbeddedSR], logsDirs: Directory)(implicit config: EmbeddedKafkaConfig) extends EmbeddedServer with Product with Serializable
An instance of an embedded Kafka server.
- factory
the optional EmbeddedZ server which Kafka relies upon.
- broker
the Kafka server.
- app
the optional EmbeddedSR app.
- 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
- Serializable
- Product
- Equals
- EmbeddedServer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
EmbeddedK(factory: Option[EmbeddedZ], broker: KafkaServer, app: Option[EmbeddedSR], logsDirs: Directory)(implicit config: EmbeddedKafkaConfig)
- factory
the optional EmbeddedZ server which Kafka relies upon.
- broker
the Kafka server.
- app
the optional EmbeddedSR app.
- 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
- val app: Option[EmbeddedSR]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val broker: KafkaServer
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val factory: Option[EmbeddedZ]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logsDirs: Directory
-
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
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )