io.github.embeddedkafka

Members list

Packages

Type members

Classlikes

object Codecs

useful encoders/serializers, decoders/deserializers and ConsumerRecord decoders

useful encoders/serializers, decoders/deserializers and ConsumerRecord decoders

Attributes

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.

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
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object EmbeddedK

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
EmbeddedK.type

Attributes

Companion
object
Supertypes
trait KafkaOps
trait ZooKeeperOps
class Object
trait Matchable
class Any
Show all
Known subtypes
object EmbeddedKafka
object EmbeddedKafka extends EmbeddedKafka

Attributes

Companion
trait
Supertypes
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
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

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

An instance of an embedded Zookeeper server.

An instance of an embedded Zookeeper server.

Value parameters

factory

the server.

logsDirs

the directory logs are to be written to.

Attributes

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

Attributes

Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
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

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