All Projects → piomin → sample-spring-webflux

piomin / sample-spring-webflux

Licence: other
testing webclient reactive communication with spring boot reactive application built on top of spring webflux

Programming Languages

java
68154 projects - #9 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to sample-spring-webflux

KotlinReactiveMS
An educational project to learn reactive programming with Spring 5 and Kotlin
Stars: ✭ 33 (+57.14%)
Mutual labels:  reactive-streams, reactor, spring-webflux
Reactor Netty
TCP/HTTP/UDP/QUIC client/server with Reactor over Netty
Stars: ✭ 1,743 (+8200%)
Mutual labels:  netty, reactive-streams, reactor
Jetlinks Community
JetLinks 基于Java8,Spring Boot 2.x ,WebFlux,Netty,Vert.x,Reactor等开发, 是一个全响应式的企业级物联网平台。支持统一物模型管理,多种设备,多种厂家,统一管理。统一设备连接管理,多协议适配(TCP,MQTT,UDP,CoAP,HTTP等),屏蔽网络编程复杂性,灵活接入不同厂家不同协议等设备。实时数据处理,设备告警,消息通知,数据转发。地理位置,数据可视化等。能帮助你快速建立物联网相关业务系统。
Stars: ✭ 2,405 (+11352.38%)
Mutual labels:  netty, reactive-streams, reactor
Hsweb Framework
hsweb (haʊs wɛb) 是一个基于spring-boot 2.x开发 ,首个使用全响应式编程的企业级后台管理系统基础项目。
Stars: ✭ 7,724 (+36680.95%)
Mutual labels:  reactive-streams, reactor, spring-webflux
Spring Reactive Sample
Spring 5 Reactive playground
Stars: ✭ 867 (+4028.57%)
Mutual labels:  reactive-streams, reactor
Scalecube Services
v2.0 - ScaleCube Services provides a low latency Reactive Microservices library for serverless service registry and discovery based on gossip protocol and without single point-of-failure or bottlenecks.
Stars: ✭ 23 (+9.52%)
Mutual labels:  reactive-streams, reactor
Rhub
Reactive Event Hub
Stars: ✭ 66 (+214.29%)
Mutual labels:  reactive-streams, reactor
Reactor Addons
Official modules for the Reactor project
Stars: ✭ 175 (+733.33%)
Mutual labels:  reactive-streams, reactor
mockpi
Reactive REST API mocking
Stars: ✭ 13 (-38.1%)
Mutual labels:  reactive-streams, reactor
Spring Webflux Reactive Rest Api Demo
Build Reactive Rest APIs with Spring WebFlux and Reactive Mongo
Stars: ✭ 117 (+457.14%)
Mutual labels:  reactive-streams, reactor
mmqtt
An Open-Source, Distributed MQTT Broker for IoT.
Stars: ✭ 58 (+176.19%)
Mutual labels:  netty, reactor
Servicetalk
A networking framework that evolves with your application
Stars: ✭ 656 (+3023.81%)
Mutual labels:  netty, reactive-streams
Hivemq Mqtt Client
HiveMQ MQTT Client is an MQTT 5.0 and MQTT 3.1.1 compatible and feature-rich high-performance Java client library with different API flavours and backpressure support
Stars: ✭ 402 (+1814.29%)
Mutual labels:  reactive-streams, reactor
Jetlinks
JetLinks Core
Stars: ✭ 380 (+1709.52%)
Mutual labels:  reactive-streams, reactor
R2dbc Client
Reactive Relational Database Connectivity
Stars: ✭ 347 (+1552.38%)
Mutual labels:  reactive-streams, reactor
Reactive Ms Example
An educational project to learn reactive programming with Spring 5
Stars: ✭ 157 (+647.62%)
Mutual labels:  reactive-streams, reactor
kotlin-kafka-and-kafka-streams-examples
Kafka with KafkaReactor and Kafka Streams Examples in Kotlin
Stars: ✭ 33 (+57.14%)
Mutual labels:  reactive-streams, reactor
ecommerce-microservices-spring-reactive-webflux
E-commerce demo with spring reactive webflux and spring cloud microservice
Stars: ✭ 107 (+409.52%)
Mutual labels:  reactive-streams, spring-webflux
reactor-go
A golang implementation for reactive-streams.
Stars: ✭ 48 (+128.57%)
Mutual labels:  reactive-streams, reactor
im-bass
基础IM通信
Stars: ✭ 56 (+166.67%)
Mutual labels:  netty, reactor

Spring WebFlux and Reactive WebClient Demo Project Twitter

In this demo project you may examples of reactive endpoints built on top of Spring WebFlux, and using WebClient for calling other resources.

  1. Explaining different communication models in reactive application with Spring WebFlux. Differences between standard application/json content type and application/stream+json. Introduction to back pressure term. Detailed description can be found here: Using Reactive WebClient with Spring WebFlux
  2. A detailed analyse of threading and concurrency model used by Spring WebFlux and Reactor Netty. It also threats about WebClient and Spring Boot Actuator pooling. A detailed description can be found here: A Deep Dive Into Spring WebFlux Threading Model

Guide

Required:

  1. JDK 11+
  2. Maven

How to run ? mvn clean install

There are two JUnit tests: PerformanceSpringWebFluxTest and SampleSpringWebFluxTest.

To provide some standalone tests just run the main class SampleSpringWebFluxApp. For generating some traffic to the application run application SendingApp. It runs MockWebServer on localhost:8082 in order to mock downstream service called by WebClient and than calls endpoints exposed by the application usung TestRestTemplate.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].