KafkaTestUtils
zio.kafka.KafkaTestUtils$
object KafkaTestUtils
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- KafkaTestUtils.type
Members list
Concise view
Value members
Concrete methods
def consumerSettings(clientId: String, groupId: Option[String], clientInstanceId: Option[String], allowAutoCreateTopics: Boolean, offsetRetrieval: OffsetRetrieval, restartStreamOnRebalancing: Boolean): URIO[Kafka, ConsumerSettings]
def produceMany(topic: String, kvs: Iterable[(String, String)]): ZIO[Producer, Throwable, Chunk[RecordMetadata]]
def produceOne(topic: String, key: String, message: String): ZIO[Producer, Throwable, RecordMetadata]
def transactionalConsumer(clientId: String, groupId: String, clientInstanceId: Option[String], offsetRetrieval: OffsetRetrieval, allowAutoCreateTopics: Boolean, diagnostics: Diagnostics): ZLayer[Kafka, Throwable, Consumer]
def transactionalConsumerSettings(groupId: String, clientId: String, clientInstanceId: Option[String], allowAutoCreateTopics: Boolean, offsetRetrieval: OffsetRetrieval): URIO[Kafka, ConsumerSettings]