This is part 3 of the blog series in which we are introducing java functions for Spring Cloud Stream applications.
Other parts in the series.
In the last two blogs in this series, we provided a general introduction to this new initiative of migrating all the existing Spring Cloud Stream App Starters to functions and the various ways in which we can compose them. In this blog, we continue the series, showing how these functions are developed, tested, and used to generate Spring Cloud Stream applications. In particular, here we are focusing on how to write a supplier function (implementing
java.util.function.Supplier) and then generate the corresponding source application for Spring Cloud Stream.