Slide 50
Slide 50 text
MONOLITH TO REACTIVE MICROSERVICES
RXJAVA
Single member = memberClient.findById(userId)
Single order = orderClient.findByOrderId(orderId)
Single payment = paymentClient.findByOrderId(orderId)
return Single.zip(member, order, response, (a, b, c) -> {
return Response.of(a,b,c)
})