Class KafkaRequestReplyImpl.PendingReplyImpl<Rep>

java.lang.Object
io.smallrye.reactive.messaging.kafka.reply.KafkaRequestReplyImpl.PendingReplyImpl<Rep>
All Implemented Interfaces:
PendingReply
Enclosing class:
KafkaRequestReplyImpl<Req,Rep>

public static class KafkaRequestReplyImpl.PendingReplyImpl<Rep> extends Object implements PendingReply
  • Constructor Details

    • PendingReplyImpl

      public PendingReplyImpl(org.apache.kafka.clients.producer.RecordMetadata metadata, String replyTopic, int replyPartition, io.smallrye.mutiny.subscription.UniEmitter<org.eclipse.microprofile.reactive.messaging.Message<Rep>> emitter)
  • Method Details

    • replyTopic

      public String replyTopic()
      Specified by:
      replyTopic in interface PendingReply
      Returns:
      reply topic
    • replyPartition

      public int replyPartition()
      Specified by:
      replyPartition in interface PendingReply
      Returns:
      reply partition, -1 if not set
    • recordMetadata

      public org.apache.kafka.clients.producer.RecordMetadata recordMetadata()
      Specified by:
      recordMetadata in interface PendingReply
      Returns:
      the recordMetadata of the request
    • getEmitter

      public io.smallrye.mutiny.subscription.UniEmitter<org.eclipse.microprofile.reactive.messaging.Message<Rep>> getEmitter()
    • toString

      public String toString()
      Overrides:
      toString in class Object