This second step shows how to create a Java client that will connect to an endpoint that emits a stream of server-sent events. We’ll be using a TDD-inspired process to create the client and test it.
This is the second part in our tutorial showing how to build a Reactive application using Spring Boot, Kotlin, Java and JavaFX. The original inspiration was a 70 minute live demo, which I have split into a series of shorter videos with an accompanying blog post, explaining each of the steps more slowly and in more detail.
This blog post contains a video showing the process step-by-step and a textual walk-through (adapted from the transcript of the video) for those who prefer a written format.