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 Summary
ConstructorsConstructorDescriptionPendingReplyImpl(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 Summary
-
Constructor Details
-
PendingReplyImpl
-
-
Method Details
-
replyTopic
- Specified by:
replyTopicin interfacePendingReply- Returns:
- reply topic
-
replyPartition
public int replyPartition()- Specified by:
replyPartitionin interfacePendingReply- Returns:
- reply partition, -1 if not set
-
recordMetadata
public org.apache.kafka.clients.producer.RecordMetadata recordMetadata()- Specified by:
recordMetadatain interfacePendingReply- Returns:
- the recordMetadata of the request
-
getEmitter
public io.smallrye.mutiny.subscription.UniEmitter<org.eclipse.microprofile.reactive.messaging.Message<Rep>> getEmitter() -
toString
-