17. Reactive Programming with Java Flow
Overview
This chapter covers the Java Flow API and the advantages of the Reactive Streams specification. It will first define, in general terms, the motivation for Flow and Reactive Streams, as well as the respective functions of Publishers, Subscribers, and Processors in Java. You will then learn to use the basic SubmissionPublisher
to build a reactive application and, in the final sections, practice implementing a simple Subscriber and Processor using Flow.