Git Product home page Git Product logo

reactive-spring-webflux's Introduction

reactive-spring-webflux

movies-info-service: Uses standard REST API (RestController) moviews-review.service: Uses Functional APIs (Handler and Router)

Annotations

Reactive Streams are Immutable;

Mono: It´s just to add a single element

Flux: It´s used to add multiple elements

ConcatMap vs FlatMap: concatMap does the same thing that flatMap, the only difference between them is that concatMap keep the ordering sequence. FlatMap is faster than ConcatMap (Use ConcatMap only if the order matter);


SwitchIfEmpty vs DefaultIfEmpty: switchIfEmpty accept a publisher, while defaultIfEmpty accept a type.


Concat and ConcatWith are operators that combine more than one reactive stream. Concat is just available for Flux and the method is static, ConcatWith is available for Flux and Mono and the method is an instance.


Concat operators vs Merge operators: Concat operators are in sequence while merge operators are async.

Merge and MergeWith are operators that combine more than one reactive stream. Merge is just available for Flux and the method is static, MergeWith is available for Flux and Mono and the method is an instance.


Zip and ZipWith are operators that merge 2 to 8 publishers in one. Zip is just available for Flux and the method is static, ZipWith is available for Flux and Mono and the method is an instance.


Sink - Subscriber and Publisher at the same time Sinks.One = One event Sinks.Many = Many events

reactive-spring-webflux's People

Contributors

gabrielaugusto1996 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.