Class KafkaReactorUtil
java.lang.Object
io.micronaut.configuration.kafka.reactor.KafkaReactorUtil
Utility methods for working with Kafka and Reactor.
- Since:
- 4.0.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> reactor.core.publisher.Mono<T>
fromKafkaFuture
(Supplier<KafkaFuture<T>> supplier) Factory for creating Mono instances from Kafka Future instances.
-
Constructor Details
-
KafkaReactorUtil
public KafkaReactorUtil()
-
-
Method Details
-
fromKafkaFuture
Factory for creating Mono instances from Kafka Future instances.- Type Parameters:
T
- The type- Parameters:
supplier
- The supplier- Returns:
- The Mono
-