Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 830 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 830 Bytes

Reactive Spring Boot

There are many projects like RxJava2, Akka streams, Spring WebFlux, Spring Reactive Data, Spring Reactive Web, Spring Reactive Integration etc.. which implement reactive streams specification. All these projects are interoperable as long as they use standard reactive streams types.

This project demonstrates key types of reactive programming with Spring Boot using Kotlin and Java. In this example, a websocket connection is configured on server using spring managed beans. Once the connection is established via client(ping.html), messages can then be exchanged in a functional reactive manner.

Types from Reactive Streams Specification:

  • Publisher
  • Subscriber
  • Subscription
  • Processor

    Types from Reactor:

  • Flux
  • Mono

    Software Requirements

  • IntelliJIDE
  • JDK 8