This Week in Spring - December 15th, 2020

Engineering | Josh Long | December 16, 2020 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! Can you believe it's already December 15th? Me either! Another few weeks and this soul annhilating year will be over with and we'll be staring down 2021 filled with new hopes and possibilities! How are you? (Have you dipped into the eggnog yet?) I'm doing alright, thanks! I've been busy, as usual.

Most of that was fun stuff. But, some of that, I confess, was a mess of my own making. I spent Monday cleaning up a fire I'd set for myself. You see, I got a little sloppy with last week's podcast episode. Last week, I was…

Spring Tools 4.9.0 released

Releases | Martin Lippert | December 16, 2020 | ...

Dear Spring Community,

I am happy to announce the 4.9.0 release of the Spring Tools 4 for Eclipse, Visual Studio Code, and Theia.

major changes to the Spring Tools 4 for Eclipse distribution

  • updated to Eclipse 2020-12 release (including support for Java 15)

reminder

  • the Eclipse-based distribution of the Spring Tools 4 requires a JDK11 (or newer) to run on
  • ships with an embedded JDK15 runtime, no need to install or configure a specific JDK to run the IDE on anymore

additional changes

  • (Spring Boot) new: show bean startup performance metrics in live hovers and code lenses (details in the user guide)
  • (Spring Boot) new: show basic request mapping performance metrics in live hovers and code lensses (details in the user guide)
  • (Spring Boot) new: provide content-assist for constructor-arg name in Spring XML config files (#562)
  • (Spring Boot) fixed: language-server-internal exception happening when saving a file that has a space or other special characters in its name or path
  • (Eclipse)

Testing Spring Cloud Stream Applications - Part 1

Engineering | David Turanski | December 15, 2020 | ...

This post is part of a blog series that explores the newly redesigned Spring Cloud Stream applications based on Java Functions. This episode, presented in two parts, explores strategies for testing functions used to implement stream applications. We will pay special attention to functions that integrate with external resources, which presents additional testing challenges. Such is the case with most of the pre-packaged source and sink applications. To illustrate this, we will walk through a sample couchbase-sink application. Here in Part 1, we will focus on the core function on which the sink…

Testing Spring Cloud Stream Applications - Part 2

Engineering | David Turanski | December 15, 2020 | ...

This is Part 2 of Testing Stream Applications. In Part 1 we implemented and tested the core function needed for our sample couchbase-sink application. The tests at the function level covered expected success and error scenarios and relied on Testcontainers to provision a Couchbase cluster. This post assumes you have read Part 1 and continues where it left off.

Couchbase Sink

In Part 1 we verified that the function we wrote for upserting data into Couchbase works as expected. We can now use the function, exposed as a java.util.Consumer, to implement a sink to use in a data pipeline built with…

Spring Cloud 2020.0.0-RC1 (aka Ilford) Is Available

Releases | Ryan Baxter | December 15, 2020 | ...

On behalf of the community, I am pleased to announce that Release Candidate 1 (RC1) of the Spring Cloud 2020 Release Train is available today. You can find the release in the Spring Milestone repository. See the 2020 release notes for more information.

Notable Changes in the 2020 Release Train

This release requires Spring Boot 2.4.0.

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.

Spring Cloud Contract

The Gradle plugin creates a separate classpath when executing tasks.

Spring Cloud Kubernetes

Case Study: Change Data Capture (CDC) Analysis with CDC Debezium source and Analytics sink in Real-Time

Engineering | Christian Tzolov | December 14, 2020 | ...

A Bootiful Podcast: open-web legend Dion Almaer

Engineering | Josh Long | December 14, 2020 | ...

Hi, Spring fans! In this special midweek installment I (Josh Long) correct a mistake I made last week when I inadvertently released the episode featuring open-web legend Dion Almaer with the interview I conducted with the inspirational and oh-so-amazing Spring Batch co-lead Mahmoud Ben Hassine. This is the actual episode with Dion Almaer (@dalmaer) who is known for so many contributions to the Java ecosystem and beyond. I know him as a former editor in chief of TheServerSide.com, but you may know him for his work championing the open web at Palm, Walmart, and Google, and many more.

Spring Statemachine 3.0.0-RC1 Released

Releases | Janne Valkealahti | December 11, 2020 | ...

Yes, we're going reactive!

On behalf of the team and everyone that contributed, I am pleased to announce that the first release candidate of Spring Statemachine 3.0.0 has been released and is available from our milestone repository.

Highlights of this release include:

  • Relevant api's working with statemachine now have reactive methods.
  • From a functional point of view this release is equivalent what's in 2.2.x, 2.3.x and 2.4.x branches apart from reactive changes.
  • We've chosen to align with recently released Spring Boot 2.4.1.

Internally everything is basically working atop of reactive…

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all