The Spring Blog

News and Events

Spring Batch 4.2.0.M2 available now!

I am pleased to announce that Spring Batch 4.2.0.M2 is available now from our milestone repository.

What’s new?

This release adds a new item reader and a new item writer for Apache Kafka:

  • KafkaItemReader can read messages from a single partition or multiple partitions of the same topic. This reader stores message offsets in the ExecutionContext to support restart.
  • KafkaItemWriter uses a KafkaTemplate from the Spring for Apache Kafka project to send messages to a given topic.

I would like to thank Mathieu Ouellet for his amazing contribution in adding support for Apache Kafka in Spring Batch!


Spring Integration AWS 2.2 GA and Spring Cloud Stream Kinesis Binder 1.2 GA Available

Today it’s my pleasure to announce General Availability of Spring Integration for Amazon Web Services extension version 2.2.0 and Spring Cloud Stream Binder for AWS Kinesis version 1.2.0.

These releases can be downloaded from Maven Central, JCenter, and our release repository:

compile "org.springframework.integration:spring-integration-aws:2.2.0.RELEASE"

If you don’t use Kinesis Binder. Or via Binder dependency:

compile ""

The main theme of both these releases is about new functionality to support Kinesis Client and Kinesis Producer libraries. For this purpose the spring-integration-aws is shipped with KclMessageDrivenChannelAdapter and KplMessageHandler implementations, respectively. At the moment an implementation is based on the KCL v1.x, since not all AWS dependencies we use in the spring-integration-aws provide the AWS SKD v2 implementation. Based on the Kinesis Client Library investigation, an additional CheckpointMode.periodic has been introduced to both KclMessageDrivenChannelAdapter and KinesisMessageDrivenChannelAdapter.


Spring Framework 5.2.0.M2, 5.1.7, 5.0.14 and 4.3.24 available now

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Framework 5.2.0.M2, 5.1.7, 5.0.14 and 4.3.24 are available from as well as Maven Central now.

First things first, the second milestone of Spring Framework 5.2 includes over 50 fixes and improvements with improved RSocket integration and initial support for reactive transactions (more on that in a follow-up blog post soon). Spring Framework 5.1.7 includes 43 fixes and improvements and is a recommended upgrade for all 5.x users.


Spring Boot for Apache Geode & Pivotal GemFire 1.1.0.M1 Released!

I am pleased to announce the release of Spring Boot for Apache Geode & Pivotal GemFire/PCC (SBDG) 1.1.0.M1.

Bits (org.springframework.geode:spring-geode-starter:1.1.0.M1) are available in the Spring libs-milestone repository.

What’s New

The SBDG 1.1 Milestone 1 (M1) release includes:

  • Rebases SBDG on Spring Framework 5.1, Spring Boot 2.1, Spring Data Lovelace and Spring Session 2.1.

  • Rebases SBDG on Apache Geode 1.6.0 and Pivotal GemFire 9.5.3.

For a complete list of changes, see the changelog.

What’s Next

SBDG 1.1 M2 will include dedicated support for In-line Caching, the second caching pattern in our 3 separate caching patters [Look-Aside, Inline, Near].

As a friendly reminder, Spring’s Cache Abstraction already provides excellent support for the Look-Aside Caching pattern, and SBDG (by extension of SDG) provides first-class support for using either Apache Geode or Pivotal GemFire/PCC as a caching provider in Spring’s Cache Abstraction.

This was also covered nicely in the new Sample on Look-Aside Caching, containing both a Guide and Example Code.


Spring Boot for Apache Geode & Pivotal GemFire 1.0.0.RELEASE Available!

At long last, it is my distinct pleasure to announce the release of Spring Boot for Apache Geode & Pivotal GemFire (SBDG) 1.0.0.RELEASE!

The list of people to thank is long.

First, to Dr. Mark Pollack for your feedback real early on in the beginning of the project.

To Mr. Josh Long for sitting with me for 2 hours after midnight during S1P-2018 to give me feedback on using Apache Geode with Spring Boot.

To Mr. Phil Webb, and the entire Spring Boot ream, for providing guidance.

To the few community members who contributed PRs.


Spring Boot for Apache Geode & Pivotal GemFire 1.0.0.RC2 Released!

I am pleased to announce the release of Spring Boot for Apache Geode & Pivotal GemFire (SBDG) 1.0.0.RC2.

I would like to send a special shoutout to the Spring Boot team for providing invaluable feedback on this project. Indeed, without Spring Boot and the fine efforts of the Boot team, SBDG would not be possible. So, thank you Boot team!

After incorporating the feedback, I decided to postpone the final GA and introduce 1 more release candidate. Final 1.0 GA is (tentatively) scheduled for Monday, May 6th.


Spring Cloud Open Service Broker 3.0.0 Released

We are pleased to announce the general availability of Spring Cloud Open Service Broker 3.0.0. This release introduces a significant shift from imperative to reactive APIs in order to support the new reactive-based web framework, Spring WebFlux. v3.0.0 was developed in parallel with v2.1.x and has feature parity with v2.1.2. Looking forward, all new features will only be added to the 3.x releases.

New features available in v3.0.0:

  • Continue support for Open Service Broker API v2.14.
  • Support Spring Boot 2.1 and Spring Framework 5.1
  • Introduce support for Spring WebFlux via a new Reactive API (based on Project Reactor)
  • Continue support for Spring MVC
  • Rename the Spring Boot starter because it now supports both Spring web frameworks
  • Introduce several reactive life cycle hooks for performing additional operations

Spring Cloud Open Service Broker 2.1.2 Released

We are pleased to announce the release of Spring Cloud Open Service Broker 2.1.2. We want to thank Guillaume Berche for his significant contributions to this release and to the project overall. This is a maintenance release that incorporates several updates and improvements, including the following:

  • Continued support for Open Service Broker API v2.14.
  • Upgrade to Spring Boot 2.0.9.RELEASE and Spring Framework 5.0.13.RELEASE
  • Fix compatibility issue with Spring Boot DevTools
  • Allow nulls in optional Boolean fields and no longer set default values
  • Use valid JSON schema examples
  • Fix JSON serialization of model objects for use by OSB clients
  • Fix JSON schema not properly mapping to arrays
  • Add property binding support for CloudFoundry service plan metadata

Spring Batch 4.2.0.M1 available now

I am pleased to announce that the first milestone of Spring Batch 4.2 has been released and is available from our milestone repository.

The major feature of this release is the addition of batch metrics with Micrometer.

Batch Metrics with Micrometer

This release introduces a new feature that lets you monitor your batch jobs by using Micrometer. By default, Spring Batch collects metrics (such as job duration, step duration, item read and write throughput, and others) and registers them in Micrometer’s global metrics registry under the spring.batch prefix. These metrics can be sent to any monitoring system supported by Micrometer.


Preview releases of Spring Cloud Alibaba are available: 0.9.0, 0.2.2, and 0.1.2

NOTE: This is a guest post from our friends at Alibaba.

Hi! Today, we’re very excited to announce that the 0.9.0, 0.2.2, and 0.1.2 releases of Spring Cloud Alibaba are now available.

Release Highlight

Included in this GA are 3 new releases:

  • Release 0.9.0: Compatible with Spring Cloud Greenwich
  • Release 0.2.2: Compatible with Spring Cloud Finchley
  • Release 0.1.2: Compatible with Spring Cloud Edgware

Four new modules were added to all three releases:

  • spring-cloud-alibaba-sentinel-zuul
  • spring-cloud-alibaba-seata
  • spring-cloud-alibaba-dubbo (not available in Release 0.1.2)
  • spring-cloud-alibaba-sms