io.github.embeddedkafka

Members list

Concise view

Type members

Classlikes

object Codecs

useful encoders/serializers, decoders/deserializers and ConsumerRecord decoders

useful encoders/serializers, decoders/deserializers and ConsumerRecord decoders

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Codecs.type
case class EmbeddedK(factory: Option[EmbeddedZ], broker: KafkaServer, logsDirs: Path, config: EmbeddedKafkaConfig)

An instance of an embedded Kafka server.

An instance of an embedded Kafka server.

Attributes

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.

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object EmbeddedK

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
object
Graph
Supertypes
trait KafkaOps
class Object
trait Matchable
class Any
Known subtypes
object EmbeddedKafka.type

Attributes

Companion:
trait
Graph
Supertypes
Self type

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class EmbeddedKafkaConfigImpl(kafkaPort: Int, zooKeeperPort: Int, customBrokerProperties: Map[String, String], customProducerProperties: Map[String, String], customConsumerProperties: Map[String, String]) extends EmbeddedKafkaConfig

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class EmbeddedZ(factory: ServerCnxnFactory, logsDirs: Path)

An instance of an embedded Zookeeper server.

An instance of an embedded Zookeeper server.

Attributes

factory

the server.

logsDirs

the directory logs are to be written to.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
class KafkaUnavailableException(msg: String, cause: Throwable) extends RuntimeException

Attributes

Graph
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
object UUIDs

Utility object for creating unique test IDs. Useful for separating IDs and directories across test cases.

Utility object for creating unique test IDs. Useful for separating IDs and directories across test cases.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
UUIDs.type

Value members

Concrete methods

def duration2JavaDuration(d: FiniteDuration): Duration
def loanAndClose[A <: AutoCloseable, B](a: A)(f: A => B): B