Questions
- Why is it important to know how to develop reactive microservices?
- How do you choose between non-blocking synchronous APIs and event-/message-driven asynchronous services?
- What makes an event different from a message?
- Name some challenges with message-driven asynchronous services. How do we handle them?
- Why is the following test not failing?
@Test void testStepVerifier() { StepVerifier.create(Flux.just(1, 2, 3, 4) .filter(n -> n % 2 == 0) .map(n -> n * 2) .log()) .expectNext(4, 8, 12); }
First, ensure that the test fails. Next, correct the test so that it succeeds.
- What are the challenges of writing tests with reactive code using JUnit, and how can we handle them?
Unlock this book’s exclusive benefits nowScan this QR code or go to packtpub.com/unlock, then search this book by name. |
... |