This is part 4 of the blog series in which we are introducing java functions for Spring Cloud Stream applications.
Other parts in the series.
In the last blog in this series, we saw how we can use a
java.util.function.Supplier to generate a Spring Cloud Stream source. In this new edition, we will see how a consuming function can be developed and tested using
java.util.function.Function. Later on, we will briefly explain the generation of a Spring Cloud Stream sink application from this consumer.