Getting Started With RSocket: Spring Boot Client

Time: approximately 15 mins.

In the previous article, you saw how Spring Boot simplifies the task of writing RSocket servers. But what about RSocket clients? In this article, you’ll learn how to write your own RSocket client and then use this new client to send request-response messages to your RSocket-server. Let’s get started!

This tutorial uses the Linux shell. For details on how to run a Linux shell on Windows, see this Microsoft tutorial.

Step 1: Create A New Spring Boot Project For Your Client

Read more

Spring Cloud Hoxton Service Release 3 (SR3) is available.

On behalf of the community, I am pleased to announce that the Service Release 3 (SR3) of the Spring Cloud Hoxton Release Train is available today. The release can be found in Maven Central. You can check out the Hoxton release notes for more information.

Important Security Advisory

Spring Cloud Config contains fixes for CVE-2020-5405.

Notable Changes in the Hoxton Release Train

This milestone was primarily a bugfix release.

Please see the Hoxton.SR3 Github Project for all issues closed.

This milestone release is built with Spring Boot 2.2.5.RELEASE.

Read more

Spring Session Dragonfruit-RC1, Corn-SR2 and Bean-SR10 Released

On behalf of the community I’m pleased to announce the releases of Spring Session Dragonfruit-RC1, Corn-SR2 and Bean-SR10.

Spring Session Dragonfruit-RC1

The Dragonfruit-RC1 release is based on:

  • Spring Session core modules 2.3.0.RC1

  • Spring Session Data Geode 2.3.0.RC1

  • Spring Session Data MongoDB 2.3.0.RC1

Additional details of these releases can be found in the changelog.

Spring Session Corn-SR2

The Corn-SR2 release is based on:

  • Spring Session core modules 2.2.2.RELEASE

  • Spring Session Data Geode 2.2.3.RELEASE

  • Spring Session Data MongoDB 2.2.3.RELEASE

Additional details of these releases can be found in the changelog.

Read more

Spring Tips: Kotlin and Spring Security

Hi, Spring fans! Welcome to another installment of Spring Tips. In this episode we’re going to look at the new Kotlin DSL for Spring Security. I love Kotlin. I introduced Kotlin in several other Spring Tips videos: The Kotlin Programming Language, Bootiful Kotlin Redux, and Spring’s Support for Coroutines. Some of those videos are very old! There are already a number of different projects in the Spring diaspora that are shipping Kotlin DSLs. They include, among others, Spring Framework, Spring Webflux, Spring Data, Spring Cloud Contract and Spring Cloud Gateway. And now, Spring Security!

Read more

This Week in Spring - March 3rd, 2020

Hi, Spring fans! Welcome to another installment of This Week in Spring! This week, I’m home, in San Francisco, California, in the US, where the fears around Coronavirus have heated up and made things problematic for those of us who travel. It looks like, at least for the immediate future, I’ll be - basically - grounded. Stay safe out there, my friends.

The good news is that this will let me get to a ton more other things like the blogs, A Bootiful Podcast and Spring Tips and of course my Reactive Spring book. And of course, we’ve got a ton of things to get to today in today’s installment of This Week in Spring, so let’s get to it!

Read more

Getting Started With RSocket: Spring Boot Server

Time: approximately 15 mins.

In the diverse world of microservices, HTTP is the undisputed leader in agent-to-agent communications. It’s mature, well established, and everywhere. But in some cases, HTTP request-response can be cumbersome. What if you need communication patterns beyond traditional request-response, such as fire-and-forget or streaming? And what if you want to send messages in either direction?

With HTTP, there are ways to achieve this but it’s not what the protocol was built for. Many of the solutions come with additional tradeoffs or shortcomings. Plus, here’s no rulebook that says “thou shalt always use HTTP”, messaging protocols like AMQP proved that already. So, it’s good to know what your options are, and healthy to add a few new technologies to your list every once in a while. This post is about one such alternative—RSocket.

Read more

Spring Boot 2.2.5 released

On behalf of the team and everyone who has contributed, I’m happy to announce that Spring Boot 2.2.5 has been released and is now available from and Maven Central.

This release includes 62 bug fixes, enhancements, documentation improvements, and dependency upgrades. Thanks to all those who have contributed with issue reports and pull requests.

Important Security Advisory

This version of Spring Boot includes a dependency upgrade to Reactor Netty 0.9.5. It contains fixes for CVE-2020-5403 and CVE-2020-5404.

Read more