This Week in Spring - October 3rd, 2023

Engineering | Josh Long | October 03, 2023 | ...

Hi Spring fans! Welcome to another installment of This Week in Spring! How're you doin'? I've just flown in from Singapore - where I was keynoting and presenting at SpringOne Singapore - and am now in Antwerp, Belgium for the deliriously fun Devoxx Belgium show. I've missed this show, and it's a true pleasure to be back here! Next week, I'll be in Amsterdam, just next door, for the SpringOne Tour Amsterdam. If you're there, come out and say hi!

We've got a lot of stuff to look at this morning, so let's dive right into it.

Spring Cloud 2023.0.0-M2 (aka Leyton) has been released

Releases | Olga Maciaszek-Sharma | September 29, 2023 | ...

On behalf of the community, I am pleased to announce that the Milestone 2 (M2) of the Spring Cloud 2023.0 Release Train is available today. The release can be found in Spring Milestone repository. You can check out the 2023.0 release notes for more information.

Notable Changes in the 2023.0.0-M2 Release Train

In this milestone, we have migrated the documentation of all the Spring Cloud projects to Antora.

See all issues and pull requests here.

Spring Cloud Commons

  • Refresh Scope on restart - a feature tailored to allow adapting to environment changes on JVM Checkpoint-Restart (PR 1266)

Spring…

Producer Initiated Transactions in Spring Cloud Stream Kafka Applications

Engineering | Soby Chacko | September 28, 2023 | ...

Other parts in this blog series

Part 1: Introduction to Transactions in Spring Cloud Stream Kafka Applications

This article is part 2 of the blog series in which we look at transactions in detail with Spring Cloud Stream and Apache Kafka. We saw a general introduction to transactions in the previous part, touching on the fundamental ideas. In this part of the blog series, we get to the metal by seeing a few implementation details and their practical aspects.

In this article, we largely stay on the producer's side to understand how transactions work with Spring Cloud Stream and Apache Kafka.

Introduction to Transactions in Spring Cloud Stream Kafka Applications

Engineering | Soby Chacko | September 27, 2023 | ...

We are starting a new blog series that focuses on working with transactions in Spring Cloud Stream Kafka applications. This blog series covers many low-level details of writing transactional applications with Spring Cloud Stream and Apache Kafka. By the end of this blog series, we hope to give you enough information about writing transactional Spring Cloud Stream Kafka applications for various business use cases.

Basic Building Blocks

The foundational support for transactions in Spring Cloud Stream Kafka applications primarily comes from Apache Kafka itself and the Spring for Apache Kafka…

This Week in Spring - September 26th, 2023

Engineering | Josh Long | September 26, 2023 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! How are you? It's September 26th, 2023, and I am in sunny Singapore for SpringOne at VMWare Explore Singapore. If you're around, don't forget to say hi!

It's gonna be a fun and busy week in Singapore, and then next week I'm off to Antwerp, Belgium, for the amazing Devoxx BE 2023. Then, I'm off to Morocco, for Devoxx MA 2023. Then, I'm off to Amsterdam for SpringOne Tour Amsterdam. If you're in any of these places, do not hesitate to reach out and say hi! I'd love to chat! And with that, we've got a ton of things to cover…

Simplified Event Externalization with Spring Modulith

Engineering | Oliver Drotbohm | September 22, 2023 | ...

Transactional service methods are a common pattern in Spring applications. These methods trigger a state transition important to the business. This usually involves a core domain abstraction, such as an aggregate and its corresponding repository. A stereotypical example of such an arrangement might look like this:

@Service
@RequiredArgsConstructor
class OrderManagement {

  private final OrderRepository orders;

  @Transactional
  Order complete(Order order) {
     return orders.save(order.complete());
  }
}

As state transitions like these might be interesting to third parties, we might want…

Paketo Buildpacks Bionic End Of Support

Engineering | Scott Frederick | September 22, 2023 | ...

The Spring Boot plugins for Maven and Gradle provide the ability to build Docker images using Cloud Native Buildpacks. By default, Spring Boot uses the CNB builders provided by the Paketo Buildpacks project.

What's Changed

The Paketo Buildpacks project has announced that Ubuntu 18.04 Bionic-based builders are no longer supported, in favor of Ubuntu 22.04 Jammy-based builders. See the Paketo announcement for more details on the builders that are affected by this change.

The Maven and Gradle plugins for Spring Boot versions 3.1 and earlier use the Bionic Base Builder by default when building…

Spring Cloud Dataflow 2.11.0 Released

Releases | Chris Bono | September 21, 2023 | ...

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

Notable Changes in 2.11.0

Spring Boot 3 Applications

  • Adds support for Spring Boot 3.x based stream applications.
  • Adds support for Spring Cloud Task 3.x based task applications.
  • Adds support for Spring Batch 5.x based batch applications.

More info can be found in the Boot 3 Appendix.

Library Updates

  • Spring Boot 2.7.15
  • Spring Cloud 2021.0.8

Kubernetes Update

  • The long-awaited update of Kubernetes cronjobs from batch/v1beta -> batch/v1 which allows users to run Kubernetes >= 1.25.0.

Spring Boot 2.7.16 available now

Releases | Moritz Halbritter | September 21, 2023 | ...

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

This release includes 24 bug fixes, documentation improvements, and dependency upgrades. 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.

Project Page | GitHub | Issues | Documentation | Stack Overflow |

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