Spring Boot Reactive Streams

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Spring Boot Reactive Streams相关的知识,希望对你有一定的参考价值。

 

1 响应式编程规范

目标:provide a standard for asynchronous stream processing with non-blocking backpressure

http://www.reactive-streams.org/

https://github.com/reactive-streams/reactive-streams-jvm 

https://spring.io/blog/2016/02/09/reactive-spring

 

A key ingredient to this effort is the Reactive Streams spec whose purpose is to provide a “standard for asynchronous stream processing with non-blocking backpressure”. The spec enables interop among disparate async component providers: from HTTP servers to web frameworks, database drivers, etc. It will be included in JDK 9 as java.util.concurrent.Flow.

 

2 Reactive Programming with Spring 5.0 M1

https://spring.io/blog/2016/07/28/reactive-programming-with-spring-5-0-m1

 

3 Demo

https://github.com/bclozel/spring-boot-web-reactive

 

4 Understanding Reactive types

https://spring.io/blog/2016/04/19/understanding-reactive-types

5

以上是关于Spring Boot Reactive Streams的主要内容,如果未能解决你的问题,请参考以下文章

Spring Boot 2. 异步 API。 CompletableFuture vs. Reactive

Spring Boot Couchbase Reactive 不支持分页

Spring Boot Reactive Mongo 在启动时挂起

使用 Spring Security OAuth 时 Spring Boot Reactive WebClient “serverWebExchange must be null”

使用 Spring Boot WebFlux、Spring Data MongoDB Reactive 和 ReactiveMongoRepository 更新 1 个或多个特定字段 MongoDB

找不到 Spring Boot Mongo Reactive 类 - 找不到类 [org.springframework.data.mongodb.MongoDatabaseFactory]