FluxFlatMapUsage
ERROR
LikelyError
View source code on GitHub
Summary
Flux#flatMap
and Flux#flatMapSequential
have subtle semantics; please use Flux#concatMap
or explicitly specify the desired amount of concurrency
Suppression
Suppress false positives by adding the suppression annotation @SuppressWarnings("FluxFlatMapUsage")
to
the enclosing element.
Disable this pattern completely by adding -Xep:FluxFlatMapUsage:OFF
as compiler argument.
Learn more.
Samples
Replacement
Shows the difference in example code before and after the bug pattern is
applied.
Identification
Shows code lines which will (not) be flagged by this bug pattern.
A //BUG: Diagnostic contains:
comment is placed above any violating line.