Skip to content

Demo project showing usage of Project Reactor Context to propagate and access data transparently in reactive pipelines

Notifications You must be signed in to change notification settings

dsibilio/reactor-ctx-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Introduction

A demo project showing the pros and cons of using the Project Reactor Context to propagate and access data transparently through reactive pipelines, as opposed to polluting/altering method signatures with unnecessary local variables or messy tuples.

Check out the MultiplesController.java and the PrefixingService.java classes, showing propagation of data through usage of:

  • The Good: Reactor Context (MultiplesController#getMultiples)
  • The Bad: Local Variables (MultiplesController#getMultiplesWithLocalVarPrefix)
  • The Ugly: Tuples (MultiplesController#getMultiplesWithTuplesPrefix)

Reference Documentation

For further reference, please consider the following resources:

About

Demo project showing usage of Project Reactor Context to propagate and access data transparently in reactive pipelines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages