Introducing Spring Cloud Function

Engineering | Mark Fisher | July 05, 2017 | ...

Spring Cloud Function is a new project with the following high-level goals:

  • Promote the implementation of business logic via functions.
  • Decouple the development lifecycle of business logic from any specific runtime target so that the same code can run as a web endpoint, a stream processor, or a task.
  • Support a uniform programming model across serverless providers, as well as the ability to run standalone (locally or in a PaaS).
  • Enable Spring Boot features (auto-configuration, dependency injection, metrics) on serverless providers.

Just as Spring has always promoted a plain old java object (POJO) based programming model, Spring Cloud Function promotes a programming model based on plain old functions. By that we mean the core interfaces defined in the java.util.function package: Function, Consumer, and Supplier

This Week in Spring - July 4th, 2017

Engineering | Josh Long | July 04, 2017 | ...

Welcome to another installment of This Week in Spring! If you're in the US, then let me wish you a happy 4th of July! We've got a lot to cover so let's get to it!

  • Spring Data ninja Thomas Risberg has just announced Spring Cloud Data Flow 1.2.2. This new version improves compatibility with Spring Boot 1.5.4 which in turn brought in a new version of Spring Data.
  • The Spring Framework Guru web portal has an interesting look at what's new in Spring Framework 5! Check it out!
  • I liked this post on Bozho's Tech Blog on setting up the epic Spring Boot Admin for monolithic applications, eschewing some of the more common, albeit more complex, setups.
  • our friend Petri Kainulainen is back at it again this time with a new newsletter that looks to capture…

Spring Cloud Data Flow 1.2.2 Released

Releases | Thomas Risberg | June 29, 2017 | ...

On behalf of the team, I am pleased to announce the general availability of Spring Cloud Data Flow 1.2.2.

Local Server: Quick Start, Getting Started Guide

Due to the popular demand from the community, the primary goal of this maintenance release is to bring Spring Boot 1.5.4 compatibility in Spring Cloud Data Flow.

  • Since it includes refactoring efforts to adapt to a bug fix introduced in a Spring Data maintenance release that is pulled in by Spring Boot, this is not a simple version upgrade.
  • As reported by the community, a side effect of this update surfaced pagination problems in the clients. It has been reworked both in the client and server-side.

This Week in Spring - June 27th, 2017

Engineering | Josh Long | June 27, 2017 | ...

Hi Spring fans and welcome to another installment of This Week in Spring! This week I'm in Chicago, New York City and Denver talking to Pivotal customers. We've got a lot of good stuff to look at this week so let's get to it!

Spring for Apache Hadoop 2.5.0.RC1 released

Releases | Thomas Risberg | June 23, 2017 | ...

New release candidate for Spring for Apache Hadoop 2.5

We are pleased to announce the Spring for Apache Hadoop 2.5 release candidate release.

The 2.5 version is primarily a bug fix and version upgrade release.

See the release changelog for details.

We continue to provide version specific artifacts with their respective transitive dependencies in the Spring IO milestone repository:

  • 2.5.0.RC1 (default - Apache Hadoop stable 2.7.3)
  • 2.5.0.RC1-cdh5 (Cloudera CDH 5.10)
  • 2.5.0.RC1-hdp26 (Hortonworks HDP 2.6)

Spring for Apache Hadoop Future

The Hadoop ecosystem is shifting and we think it is time to…

A preview on Spring Data Kay

Engineering | Mark Paluch | June 20, 2017 | ...

As we’ve just shipped the fourth milestone release of Spring Data release train Kay, let’s take a look at the changes and features that come with the 13 modules on the train since our first milestone. This blog post covers a set of changes but is no means comprehensive of the 550+ changes between M2 and M4. To get a full list of changes, take a look into our Jira for Kay M1, M2, M3, and M4 changes.

Here’s a curated list of our key changes:

  • Adjustments in the reactive support

  • Composable repositories

  • Improved naming scheme for CRUD methods

  • Fluent MongoOperations API

  • Kotlin extension for MongoDB’s Template API

  • MongoDB Collation Support

  • Redis client configuration

  • Cassandra Lightweight transaction support and Query/Update objects

  • Java 9 compatibility

  • Upgrade to Elasticsearch 5.4

This Week in Spring - June 20th, 2017

Engineering | Josh Long | June 20, 2017 | ...

Hi Spring fans and welcome to another installment of This Week in Spring! This week I'm in Krakow, Poland for the epic Devoxx PL event and then it's off to Luxembourg for the VoxxedDays Luxembourg event! If you're around, don't hesitate to say hi

  • Spring Framework lead Juergen Hoeller just announced Spring Framework 5.0 RC2. The new release is a major revision of RC1, refactoring the reactive support and path pattern parsing. It introduces JSR 305 based @Nullable / @NonNullApi Spring annotations into the codebase.
  • Spring Data Release Train Kay M4 Released - Spring Data ninja Mark Paluch just announced Spring Data Train Kay M4, packed with new features and updates. Get the bits now!
  • Spring IO Platform Athens-SR6 - Spring IO Platform lead Andy Wilkinson has just announced Spring IO Platform Athens-SR6, available from and Maven Central. The new maintenance release includes Spring Boot 1.4.7, Spring Framework 4.3.9, Sspring Integration 4.3.10, Spring REST…

Spring Integration 5.0 Milestone 5 Available

Releases | Artem Bilan | June 16, 2017 | ...

On behalf of the Spring Integration team I am pleased to announce that the fifth milestone for the Spring Integration 5.0 release (5.0.0.M5) is now available.

21 JIRAs (and some GitHub issues) made into this release, including bug fixes and a number of new features. Some highlights of features in M4 and M5, since the previously announced Milestone 3:

  • The Splitter now can deal with the Java Stream and Reactor Flux payloads. If the output channel is a ReactiveStreamsSubscribableChannel, splitting supports back-pressure.

  • A ErrorMessagePublisher together with the ErrorMessageStrategy have been introduced to pursue better error handling experience with the inception message for the ErrorMessage. The MessageListenerContainer in Spring Kafka 2.0 and Spring AMQP 2.0 are supplied with their own ErrorMessageStrategy to represent the original data in the ErrorMessage for the error handling flow.

  • The new MockMessageHandler has been added to Spring Integration Test framework for replacing real `MessageHandler`s for unit testing:

    MessageHandler mockMessageHandler = mockMessageHandler() .handleNextAndReply(m -> m.getPayload().toString().toUpperCase());

    this.mockIntegrationContext .substituteMessageHandlerFor("myServiceActivator", mockMessageHandler);

    this.pojoServiceChannel.send(new GenericMessage<>("foo")); receive = this.results.receive(10000);

    assertEquals("FOO", receive.getPayload());

Spring Session MongoDB 2.0.0.M1 released

Engineering | Greg L. Turnquist | June 16, 2017 | ...

Dear Spring Community,

Last month, Spring Session lead Rob Winch announced the release of Spring Session 2.0.0.M1 (notice the lack of MongoDB there?) In that post, he pared back Spring Session to officially supporting Redis, JDBC, and Hazelcast. No more MongoDB.

I’m here to announce that I’ve pick up the torch for Spring Session MongoDB. Managing both Spring Session and Spring Security (among other responsibilities), Rob couldn’t maintain high caliber support with too many data stores. Being a member of the Spring Data team, I felt better suited toward providing MongoDB support of Spring Session, so I reinstated it as a separate project

Spring Security 5.0.0 M2 Released

Releases | Rob Winch | June 16, 2017 | ...

On behalf of the community, I’m pleased to announce the release of Spring Security 5.0.0 M2. This release includes bug fixes, new features, and is based off of Spring Framework 5.0.0 RC2.

A complete example of using Spring Security to secure a Spring WebFlux application can be found in the Spring Security samples at hellowebflux and hellowebfluxfn.

The highlights of the release include:

Simplified Reactive Security Configuration

It is now very easy to setup a minimal Reactive Security Configuration. Add @EnableWebFluxSecurity and provide a

Get the Spring newsletter

Thank you!

Get ahead

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

Learn more

Get support

Spring Runtime 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