Spring Cloud Stream - functional and reactive
In the previous post, I tried to provide justification for our shift to a functional programming model in Spring Cloud Stream (SCSt). It's less code, less configuration. Most importantly, though, your code is completely decoupled and independent from the internals of SCSt.
In this post, I’ll dig a little deeper and summarize the core features of our functional support, specifically around its reactive features.
IMPORTANT: Anything you can do with
…@StreamListener/@EnableBinding
you can also do without it. In other words, the functional support is now feature-compatible with the annotation-based support.