Packages

o

org.apache.pekko.kafka.testkit

ProducerResultFactory

object ProducerResultFactory

Factory methods to create instances that normally are emitted by pekko.kafka.scaladsl.Producer and pekko.kafka.javadsl.Producer flows.

Annotations
@ApiMayChange()
Source
ProducerResultFactory.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProducerResultFactory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def multiResult[K, V, PassThrough](parts: Collection[MultiResultPart[K, V]], passThrough: PassThrough): MultiResult[K, V, PassThrough]

    Java API

  2. def multiResult[K, V, PassThrough](message: MultiMessage[K, V, PassThrough]): MultiResult[K, V, PassThrough]
  3. def multiResult[K, V, PassThrough](parts: Seq[MultiResultPart[K, V]], passThrough: PassThrough): MultiResult[K, V, PassThrough]
  4. def multiResultPart[K, V](metadata: RecordMetadata, record: ProducerRecord[K, V]): MultiResultPart[K, V]
  5. def passThroughResult[K, V, PassThrough](passThrough: PassThrough): PassThroughResult[K, V, PassThrough]
  6. def recordMetadata(topic: String, partition: Int, offset: Long): RecordMetadata
  7. def recordMetadata(msg: ProducerRecord[_, _]): RecordMetadata
  8. def result[K, V, PassThrough](metadata: RecordMetadata, message: Message[K, V, PassThrough]): Result[K, V, PassThrough]
  9. def result[K, V, PassThrough](message: Message[K, V, PassThrough]): Result[K, V, PassThrough]