Packages

trait EmbeddedKafkaConnect extends EmbeddedKafkaConnectSupport[EmbeddedKafkaConfig] with EmbeddedKafka

Helper trait for running Kafka Connect server. Use .startConnect to start the server.

Linear Supertypes
EmbeddedKafka, EmbeddedKafkaOps[EmbeddedKafkaConfig, EmbeddedK], KafkaOps, ZooKeeperOps, ProducerOps[EmbeddedKafkaConfig], ConsumerOps[EmbeddedKafkaConfig], AdminOps[EmbeddedKafkaConfig], EmbeddedKafkaSupport[EmbeddedKafkaConfig], EmbeddedKafkaConnectSupport[EmbeddedKafkaConfig], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EmbeddedKafkaConnect
  2. EmbeddedKafka
  3. EmbeddedKafkaOps
  4. KafkaOps
  5. ZooKeeperOps
  6. ProducerOps
  7. ConsumerOps
  8. AdminOps
  9. EmbeddedKafkaSupport
  10. EmbeddedKafkaConnectSupport
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val adminClientCloseTimeout: FiniteDuration
    Attributes
    protected
    Definition Classes
    AdminOps
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val autoCreateTopics: Boolean
    Attributes
    protected
    Definition Classes
    KafkaOps
  7. val brokerId: Short
    Attributes
    protected
    Definition Classes
    KafkaOps
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. val connectConfig: EmbeddedConnectConfigImpl
    Attributes
    protected[embeddedkafka]
    Definition Classes
    EmbeddedKafkaConnect → EmbeddedKafkaConnectSupport
  10. def consumeFirstKeyedMessageFrom[K, V](topic: String, autoCommit: Boolean, timeout: Duration)(implicit config: EmbeddedKafkaConfig, keyDeserializer: Deserializer[K], valueDeserializer: Deserializer[V]): (K, V)
    Definition Classes
    ConsumerOps
    Annotations
    @throws(classOf[java.util.concurrent.TimeoutException]) @throws(classOf[io.github.embeddedkafka.KafkaUnavailableException])
  11. def consumeFirstMessageFrom[V](topic: String, autoCommit: Boolean, timeout: Duration)(implicit config: EmbeddedKafkaConfig, valueDeserializer: Deserializer[V]): V
    Definition Classes
    ConsumerOps
    Annotations
    @throws(classOf[java.util.concurrent.TimeoutException]) @throws(classOf[io.github.embeddedkafka.KafkaUnavailableException])
  12. def consumeFirstStringMessageFrom(topic: String, autoCommit: Boolean, timeout: Duration)(implicit config: EmbeddedKafkaConfig): String
    Definition Classes
    ConsumerOps
  13. def consumeNumberKeyedMessagesFrom[K, V](topic: String, number: Int, autoCommit: Boolean, timeout: Duration)(implicit config: EmbeddedKafkaConfig, keyDeserializer: Deserializer[K], valueDeserializer: Deserializer[V]): List[(K, V)]
    Definition Classes
    ConsumerOps
  14. def consumeNumberKeyedMessagesFromTopics[K, V](topics: Set[String], number: Int, autoCommit: Boolean, timeout: Duration, resetTimeoutOnEachMessage: Boolean)(implicit config: EmbeddedKafkaConfig, keyDeserializer: Deserializer[K], valueDeserializer: Deserializer[V]): Map[String, List[(K, V)]]
    Definition Classes
    ConsumerOps
  15. def consumeNumberMessagesFrom[V](topic: String, number: Int, autoCommit: Boolean, timeout: Duration)(implicit config: EmbeddedKafkaConfig, valueDeserializer: Deserializer[V]): List[V]
    Definition Classes
    ConsumerOps
  16. def consumeNumberMessagesFromTopics[V](topics: Set[String], number: Int, autoCommit: Boolean, timeout: Duration, resetTimeoutOnEachMessage: Boolean)(implicit config: EmbeddedKafkaConfig, valueDeserializer: Deserializer[V]): Map[String, List[V]]
    Definition Classes
    ConsumerOps
  17. def consumeNumberStringMessagesFrom(topic: String, number: Int, autoCommit: Boolean, timeout: Duration)(implicit config: EmbeddedKafkaConfig): List[String]
    Definition Classes
    ConsumerOps
  18. val consumerPollingTimeout: FiniteDuration
    Attributes
    protected
    Definition Classes
    ConsumerOps
  19. def createCustomTopic(topic: String, topicConfig: Map[String, String], partitions: Int, replicationFactor: Int)(implicit config: EmbeddedKafkaConfig): Try[Unit]
    Definition Classes
    AdminOps
  20. def deleteTopics(topics: List[String])(implicit config: EmbeddedKafkaConfig): Try[Unit]
    Definition Classes
    AdminOps
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. val logCleanerDedupeBufferSize: Int
    Attributes
    protected
    Definition Classes
    KafkaOps
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. val producerPublishTimeout: FiniteDuration
    Attributes
    protected
    Definition Classes
    ProducerOps
  32. def publishStringMessageToKafka(topic: String, message: String)(implicit config: EmbeddedKafkaConfig): Unit
    Definition Classes
    ProducerOps
  33. def publishToKafka[K, T](topic: String, messages: Seq[(K, T)])(implicit config: EmbeddedKafkaConfig, keySerializer: Serializer[K], serializer: Serializer[T]): Unit
    Definition Classes
    ProducerOps
    Annotations
    @throws(classOf[io.github.embeddedkafka.KafkaUnavailableException])
  34. def publishToKafka[K, T](topic: String, key: K, message: T)(implicit config: EmbeddedKafkaConfig, keySerializer: Serializer[K], serializer: Serializer[T]): Unit
    Definition Classes
    ProducerOps
    Annotations
    @throws(classOf[io.github.embeddedkafka.KafkaUnavailableException])
  35. def publishToKafka[T](producerRecord: ProducerRecord[String, T])(implicit config: EmbeddedKafkaConfig, serializer: Serializer[T]): Unit
    Definition Classes
    ProducerOps
    Annotations
    @throws(classOf[io.github.embeddedkafka.KafkaUnavailableException])
  36. def publishToKafka[T](topic: String, message: T)(implicit config: EmbeddedKafkaConfig, serializer: Serializer[T]): Unit
    Definition Classes
    ProducerOps
    Annotations
    @throws(classOf[io.github.embeddedkafka.KafkaUnavailableException])
  37. def startConnect[T](connectPort: Int, offsets: Path, extraConfig: Map[String, String] = Map.empty)(block: => T)(implicit config: EmbeddedKafkaConfig): T

    Start a Kafka Connect server and pass a block of code that can operate while the server is active.

    Start a Kafka Connect server and pass a block of code that can operate while the server is active.

    connectPort

    the Kafka Connect port for the REST API to listen on.

    offsets

    the file to store offset data in.

    extraConfig

    additional Kafka Connect configuration (overwrite existing keys in default config)

    block

    the code block that will executed while the Kafka Connect server is active. Once the block has been executed the server will be stopped.

    Definition Classes
    EmbeddedKafkaConnectSupport
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. val topicCreationTimeout: FiniteDuration
    Attributes
    protected
    Definition Classes
    AdminOps
  41. val topicDeletionTimeout: FiniteDuration
    Attributes
    protected
    Definition Classes
    AdminOps
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. def withAdminClient[T](body: (AdminClient) => T)(implicit config: EmbeddedKafkaConfig): Try[T]
    Attributes
    protected
    Definition Classes
    AdminOps
  46. def withConsumer[K, V, T](body: (KafkaConsumer[K, V]) => T)(implicit config: EmbeddedKafkaConfig, keyDeserializer: Deserializer[K], valueDeserializer: Deserializer[V]): T
    Definition Classes
    ConsumerOps
  47. def withProducer[K, V, T](body: (KafkaProducer[K, V]) => T)(implicit config: EmbeddedKafkaConfig, keySerializer: Serializer[K], valueSerializer: Serializer[V]): T
    Definition Classes
    ProducerOps
  48. def withRunningKafka[T](body: => T)(implicit config: EmbeddedKafkaConfig): T
    Definition Classes
    EmbeddedKafkaSupport
  49. def withRunningKafkaOnFoundPort[T](config: EmbeddedKafkaConfig)(body: (EmbeddedKafkaConfig) => T): T
    Definition Classes
    EmbeddedKafkaSupport
  50. val zkConnectionTimeoutMs: Int
    Definition Classes
    AdminOps
  51. val zkSessionTimeoutMs: Int
    Definition Classes
    AdminOps

Inherited from EmbeddedKafka

Inherited from EmbeddedKafkaOps[EmbeddedKafkaConfig, EmbeddedK]

Inherited from KafkaOps

Inherited from ZooKeeperOps

Inherited from ProducerOps[EmbeddedKafkaConfig]

Inherited from ConsumerOps[EmbeddedKafkaConfig]

Inherited from AdminOps[EmbeddedKafkaConfig]

Inherited from EmbeddedKafkaSupport[EmbeddedKafkaConfig]

Inherited from EmbeddedKafkaConnectSupport[EmbeddedKafkaConfig]

Inherited from AnyRef

Inherited from Any

Ungrouped