Medium Kafka & Messaging Patterns
Request-Reply Pattern
Simulate a request-reply pattern. Create a processRequest() function that takes a String request and returns Mono<String> with "Reply to: <request>". Send requests "ping", "hello", "status" and print each reply.
Request-Reply over messaging simulates synchronous-like communication.
Expected
Reply to: ping Reply to: hello Reply to: status
Main.kt