Trait

akka.kafka.testkit.internal

KafkaTestKit

Related Doc: package internal

Permalink

trait KafkaTestKit extends AnyRef

Common functions for scaladsl and javadsl Testkit.

Mixed-in in both, scaladsl and javadsl classes, therefore API should be usable from both - Scala and Java.

Source
KafkaTestKit.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KafkaTestKit
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def bootstrapServers: String

    Permalink
  2. abstract def log: Logger

    Permalink
  3. abstract def system: ActorSystem

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val DefaultKey: String

    Permalink
  5. def adminClient: AdminClient

    Permalink

    Access to the Kafka AdminClient which life

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def cleanUpAdminClient(): Unit

    Permalink

    Close internal admin client instances.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def committerDefaults: CommitterSettings

    Permalink
  10. def consumerDefaults: ConsumerSettings[String, String]

    Permalink
  11. def createGroupId(suffix: Int): String

    Permalink

    Return a unique group id with a given suffix.

  12. def createGroupId(): String

    Permalink

    Return a unique group id with a default suffix.

  13. def createTopic(suffix: Int, partitions: Int, replication: Int, config: Map[String, String]): String

    Permalink

    Java Api

    Java Api

    Create a topic with given suffix, partition number, replication factor, and topic configuration.

    This method will block and return only when the topic has been successfully created.

  14. def createTopic(suffix: Int, partitions: Int, replication: Int, config: Map[String, String]): String

    Permalink

    Create a topic with given suffix, partition number, replication factor, and topic configuration.

    Create a topic with given suffix, partition number, replication factor, and topic configuration.

    This method will block and return only when the topic has been successfully created.

  15. def createTopic(suffix: Int, partitions: Int, replication: Int): String

    Permalink

    Create a topic with given suffix, partition number, replication factor, and no topic configuration.

    Create a topic with given suffix, partition number, replication factor, and no topic configuration.

    This method will block and return only when the topic has been successfully created.

  16. def createTopic(suffix: Int, partitions: Int): String

    Permalink

    Create a topic with a given suffix, partition number, a replication factor of one, and no topic configuration.

    Create a topic with a given suffix, partition number, a replication factor of one, and no topic configuration.

    This method will block and return only when the topic has been successfully created.

  17. def createTopic(suffix: Int): String

    Permalink

    Create a topic with a given suffix, single partitions, a replication factor of one, and no topic configuration.

    Create a topic with a given suffix, single partitions, a replication factor of one, and no topic configuration.

    This method will block and return only when the topic has been successfully created.

  18. def createTopic(): String

    Permalink

    Create a topic with a default suffix, single partition, a replication factor of one, and no topic configuration.

    Create a topic with a default suffix, single partition, a replication factor of one, and no topic configuration.

    This method will block and return only when the topic has been successfully created.

  19. def createTopicName(suffix: Int): String

    Permalink

    Return a unique topic name.

  20. def createTransactionalId(suffix: Int): String

    Permalink

    Return a unique transactional id with a given suffix.

  21. def createTransactionalId(): String

    Permalink

    Return a unique transactional id with a default suffix.

  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def producerDefaults: ProducerSettings[String, String]

    Permalink
  32. def setUpAdminClient(): Unit

    Permalink

    Create internal admin clients.

    Create internal admin clients. Gives access to adminClient, be sure to call cleanUpAdminClient after the tests are done.

  33. val settings: KafkaTestkitSettings

    Permalink
  34. def sleepMillis(ms: Long, msg: String): Unit

    Permalink
  35. def sleepSeconds(s: Int, msg: String): Unit

    Permalink
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped