Packages

o

org.apache.pekko.kafka.testkit

ConsumerResultFactory

object ConsumerResultFactory

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

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

Value Members

  1. def committableMessage[K, V](record: ConsumerRecord[K, V], committableOffset: CommittableOffset): CommittableMessage[K, V]
  2. def committableOffset(partitionOffset: PartitionOffset, metadata: String): CommittableOffset
  3. def committableOffset(groupId: String, topic: String, partition: Int, offset: Long, metadata: String): CommittableOffset
  4. val fakeCommitter: KafkaAsyncConsumerCommitterRef
  5. def partitionOffset(key: GroupTopicPartition, offset: Long): PartitionOffset
  6. def partitionOffset(groupId: String, topic: String, partition: Int, offset: Long): PartitionOffset
  7. def transactionalMessage[K, V](record: ConsumerRecord[K, V], partitionOffset: PartitionOffsetCommittedMarker): TransactionalMessage[K, V]