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
- Alphabetic
- By Inheritance
- KafkaTestKit
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def bootstrapServers: String
- abstract def log: Logger
- abstract def system: ActorSystem
Concrete 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 DefaultKey: String
-
def
adminClient: AdminClient
Access to the Kafka AdminClient which life
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cleanUpAdminClient(): Unit
Close internal admin client instances.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
- def committerDefaults: CommitterSettings
- def consumerDefaults: ConsumerSettings[String, String]
-
def
createGroupId(suffix: Int): String
Return a unique group id with a given suffix.
-
def
createGroupId(): String
Return a unique group id with a default suffix.
-
def
createTopic(suffix: Int, partitions: Int, replication: Int): String
Create a topic with given suffix, partition number and replication factor.
Create a topic with given suffix, partition number and replication factor.
This method will block and return only when the topic has been successfully created.
-
def
createTopic(suffix: Int, partitions: Int): String
Create a topic with a given suffix, partition number and a replication factor of one.
Create a topic with a given suffix, partition number and a replication factor of one.
This method will block and return only when the topic has been successfully created.
-
def
createTopic(suffix: Int): String
Create a topic with a given suffix, single partitions and a replication factor of one.
Create a topic with a given suffix, single partitions and a replication factor of one.
This method will block and return only when the topic has been successfully created.
-
def
createTopic(): String
Create a topic with a default suffix, single partition and a replication factor of one.
Create a topic with a default suffix, single partition and a replication factor of one.
This method will block and return only when the topic has been successfully created.
-
def
createTopicName(suffix: Int): String
Return a unique topic name.
-
def
createTransactionalId(suffix: Int): String
Return a unique transactional id with a given suffix.
-
def
createTransactionalId(): String
Return a unique transactional id with a default suffix.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def producerDefaults: ProducerSettings[String, String]
-
def
setUpAdminClient(): Unit
Create internal admin clients.
Create internal admin clients. Gives access to
adminClient
, be sure to callcleanUpAdminClient
after the tests are done. - val settings: KafkaTestkitSettings
- def sleepMillis(ms: Long, msg: String): Unit
- def sleepSeconds(s: Int, msg: String): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )