Hi, Spring fans! Welcome to another jam-packed installment of This Week in Spring! It’s the week of Thanksgiving here in the United States and I feel like I’ve got a ton of things and a ton more people for which and for whom to be thankful, and a huge, constant part of that is you, dear community. I say this in this column all the time, but you - the community - are the main reason that Spring is worth doing. I know that I speak for the entire Spring team when I say: thank you! And, speaking for myself, I hope that, whether you’re in the US celebrating Thanksgiving or anywhere else, that you’re healthy, happy and safe, as always. Now then, we’ve got a ton of things to get to this week so let’s get to it!
Spring Data Elasticsearch is one of the community modules shipped with the 2020.0 release. On behalf of P.J. Meisch, who is doing most of the heavy lifting these days, we’re happy to share his insights on the current release.
The previous release included major overhaul of the internal code structure and the API, whereas the 2020.0 version of Spring Data Elasticsearch focused on fixing bugs and adding functionality.
Altogether there were 23 bugs fixed and 81 other issues resolved. Spring Data Elasticsearch now is built with the actual Elasticsearch version 7.9.3.
On behalf of everyone that has contributed, I am pleased to announce that Spring Native for GraalVM 0.8.3 has been released and is available from Spring milestone repository, check the updated reference documentation for more details.
Spring Native for GraalVM provides an incubating support for compiling Spring applications to native executables using the native-image compiler, in order to provide a native deployment option designed to be packaged in lightweight containers. In practice, the target is to support your Spring application (typically a Spring Boot one), unmodified, on this new platform.
Spring Data Neo4j is a Spring Data community project that is maintained and developed by Neo4j, Inc. On behalf of the team working on the module at Neo4j, we are happy to share their insights about recent changes and new features shipped with the 2020.0.0 release.
Neo4j users who use Spring Boot 2.3 require special attention because the configuration infrastructure for Spring Data Neo4j 6.0 has changed in an incompatible way.
That said, not only has the configurational infrastructure changed, but the whole project changed.
On behalf of the community, I am pleased to announce that the Milestone 5 (M5) of the Spring Cloud 2020 Release Train is available today. The release can be found in Spring Milestone repository. You can check out the 2020 release notes for more information.
This release requires Spring Boot 2.4.0.
Support for OpenTelemetry was added in Sleuth.
Support for RSocket was added in Bus.
Please see the wiki for a list of all breaking changes in this release train.
See all of the included issues and pull requests at the Github project.
This release is a major milestone in Spring’s R2DBC support. Spring support for R2DBC started as an experimental project two years ago to evaluate how a reactive SQL integration might look. With this release, Spring Data R2DBC underwent a major refactoring by moving several components into a dedicated
spring-r2dbc module and deprecating components that are provided by the Spring Framework. Besides that change, Spring Data R2DBC ships with the following most notable changes:
- Add lifecycle callbacks through the
- Reactive auditing
- Pass-through of
enumvalues and Postgres Geo types
Hi, Spring fans! Can you believe it’s already November 17th, 2020!? We’re weeks away from Thanksgiving here in the US and then the end-of-year holidays. I, for one, can not believe it. You know what else is pretty wild? The first week of January will be ten years of writing This Week in Spring!
I’ve got a pretty busy appearance schedule between now and the end of the year though. I’d love to see you at any of these events.
- 2020-11-17 - Ireland Bash Talk - I'll be speaking _tonight_ (California, USA / PDT time)
- 2020-11-18 - JCConf keynote speaker - Rsocket Revolution
- 2020-11-18 - QCon Plus - I'll be doing a presentation and doing live Q&A
- 2020-11-19 - the Kansas City JUG
- 2020-11-22 - GDG Devfest Shanghai
- 2020-11-23 - JavaHispano JUG presentation
- 2020-12-03 - Knoxville JUG
- 2020-12-04 - I'll be speaking at the jLove conference, participating in both a talk and a panel
- 2020-12-07 - Join me, Spring Developer Advocate Josh Long for this 90 minute exploration of all things reactive and RSocket in Spring. This is ideally timed for folks in APJ, so sign up now!
- 2020-12-15 - I'll be speaking at the Warsaw, Poland JUG - Warszawa JUG. Check the website for more details as they become available
- 2020-12-23 - Join me on our VMWare Tanzu channel - I'll be doing a "Code" stream at noon PDT
This article is part of a blog series that explores the newly redesigned Spring Cloud Stream applications based on Java Functions. In this post, we will look at the Elasticsearch sink that allows us to index records in Elasticsearch, and its corresponding Consumer function.
Here are all the previous parts of this blog series.