close
Newest Post

A Bootiful Podcast: DataStax's Christopher Bradford on the Apache Cassandra operator for Kubernetes, K8ssandra

Read more

Spring Cloud 2021.0.0 (codename Jubilee) Has Been Released

On behalf of the community, I am pleased to announce the General Availability of the Spring Cloud 2021.0 Release Train, codename Jubilee, is available today. The release can be found in Maven Central. You can check out the 2021.0 release notes for more information.

Notable Changes in the 2021.0 Release Train

2021.0.0 is compatible with Spring Boot 2.6.1

See the project page for all the issues and pull requests included in this release.

Spring Cloud Commons

  • Support for per LoadBalancer configuration properties (added as well to Gateway, Contract and OpenFeign).
Read more

Spring Cloud Function 3.2 is out!

Spring Cloud 2021.0.0 is finally out and with it you have Spring Cloud Function 3.2

While the full list of features, enhancements and bug fixes is available here, I’d like to call out few of them in this post and provide some details.

gRPC Support

In addition to an already existing support for invoking function via AWS Lambda, RSocket, Spring Cloud Stream etc., Spring Cloud Function now allows you to invoke function via gRPC.
Two ways to benefit from it.

Spring Message

Given the wide adaption of Spring Messaging, one way of benefiting from gRPC support is by embracing Spring’s Message.
Spring Cloud Function provides GrpcSpringMessage schema modeled after Spring’s Message. It is internally converted to Spring Message to benefit from all of the existing support for Spring Messaging.

Read more

Spring Authorization Server 0.2.1 available now

On behalf of the team and everyone who has contributed, it is my pleasure to announce the general availability of Spring Authorization Server 0.2.1.

You can download it from Maven Central by using the module coordinates:

compile 'org.springframework.security:spring-security-oauth2-authorization-server:0.2.1'

See the release notes for complete details.

To get started using Spring Authorization Server, see the sample to become familiar with setup and configuration.

We would love to gather your feedback as we strive to improve and build upon this release.

Read more

Spring Tips: @Controllers and RSocket

Hi, Spring fans! In this installment of Spring Tips (@SpringTipsLive), we continue our tour of all things @Controller, this time focusing on the Spring support for RSocket. You might also want to watch the expanded discussion of RSocket in earlier Spring Tips videos:

  1. The RSocket Revolution - watch this next!
  2. Raw RSocket support
  3. RSocket Messaging and the @Controller component model
  4. RSocket and Spring Security
  5. Spring Retrosocket
Read more

This Week in Spring - November 30th, 2021

Hi, Spring fans! Welcome to another installment of This Week in Spring! This last week’s been nutty! Here in the US, we just celebrated the Thanksgiving holiday, and I am fat with turkey and pie, and lazy. But happy. I hope you’re well fed and happy, too. Time’s flying. (Also: can you believe we’re a month away from the new year? I think there’s like four or five weeks (and thus _This Week in Spring_s!) left in the year!)

We’ve got a ton of stuff to get into this week, so let’s go:

Read more

Security Report for Spring AMQP (Spring for RabbitMQ)

The recently released versions of Spring AMQP (2.4.0, 2.3.12, 2.2.20) contain a fix for CVE-2021-22095, which can cause a potential OutOfMemoryError for very large messages.

Spring Boot version 2.6.0 and 2.5.7 will bring in the 2.4.0 and 2.3.12 versions of spring-amqp respectively. Users of Boot 2.4.x should override the spring-amqp and spring-rabbit versions to 2.3.12; users of Spring Boot 2.3.x should override the versions to 2.2.20.

Read more

Spring Boot 2.6.1 is now available

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

This release includes 11 bug fixes and documentation improvements. Thanks to all those who have contributed with issue reports and pull requests.

How can you help?

If you’re interested in helping out, check out the “ideal for contribution” tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot tag or chat with the community on Gitter.

Read more

Spring Data MongoDB - Relation Modelling

MongoDB’s flexible schema allows for multiple patterns when it comes to modeling relationships between entities. Also, for many use cases, a denormalized data model (storing related data right within a single document) might be the best choice, because all information is kept in one place, so that the application requires fewer queries to fetch all data. However, this approach also has its downsides, such as potential data duplication, larger documents, and the maximum document size.

In general, MongoDB recommends using normalized data models when the advantages of embedding are neglected by the implications of duplication. In this blog post, we take a look at the different possibilities of linking documents with manual references and DBRefs when the need occurs to work with relations.

Read more