How to do it...

There are other Stream operations that can be useful when it comes to data transformation, conversion, manipulation, and augmentation. To illustrate how to use these deterministic operations, perform the following steps:

  1. Let us create a service class EmployeeTransformDataStream that will be applying these kind of Stream operations:
public interface EmployeeTransformDataStream { public Flux<String> mergeWithNames(List<String> others); public Flux<String> concatWithNames(List<String> others); public Flux<Tuple2<String,String>> zipWithNames(List<String> others); public Flux<String> flatMapWithNames(List<String> others); public Mono<Integer> countEmpRecReduce(); public Flux<GroupedFlux<String, String>> groupNames(); public Flux<String> ...

Get Spring 5.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.