This Week in Spring, December 12th, 2017

Engineering | Josh Long | December 12, 2017 | ...

Hi Spring fans and welcome to another installment of This Week in Spring! I'm still reeling from the incredible, larger-and-better-than-ever SpringOne Platform 2017 event last week! Ouch! My brain...

This week I'm speaking to customers and am presenting at two User Groups (in Atlanta, GA and St. Louis, MO) on testing and all things Spring with my new teammate Mario Gray (@mariogray)! Join us.

This Sunday, it's off to London for a few days customer visits. If you're around, don't hesitate to say hello (@starbuxman).

This Week in Spring - December 5th, 2017

Engineering | Josh Long | December 06, 2017 | ...

Hi Spring fans and welcome to This Week in Spring from the premier JVM-language event SpringOne Platform 2017! There is a massive amount of stuff to cover, especially in light of SpringOne Platform, so let's get to it!

Spring Cloud Finchley.M5 Released

Releases | Spencer Gibb | December 05, 2017 | ...

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

Notable Changes in the Finchley Release Train

This update contains changes for compatibility with Spring Boot 2.0.0.M7.

Spring Cloud Sleuth

The spans created via the @Async are now always continuing a parent span instead of creating a new one.

Spring Cloud Gateway

The Java fluent API has been updated to provided a better developer experience. All predicates and filters are now discoverable via your IDE's code completion, rather than via static imports. A RouteLocatorBuilder

Spring Tools 4 - public beta released

Releases | Martin Lippert | December 04, 2017 | ...

spring tools 4

Beginning today, we enter a new chapter in the tooling landscape for Spring and the development of enterprise applications built on top of the de-facto standard, Spring Boot. By unveiling the public beta of the next generation of our Spring tooling, we allow developers around the globe to get a preview of what is coming next to improve their developer experience around Spring and Spring Boot.

Spring Aware

smart code completion

The all-new Spring Tools 4 analyze your projects on the fly, understand the Spring constructs inside, and provide easy and super quick navigation to all your Spring elements. Finding a…

Spring Tips: Spring Tool Suite 4

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

Speaker: Josh Long

Hi Spring fans! In this Spring Tips, we'll look at Spring Tool Suite 4, new runtime feedback and the IDE-agnostic language servers that underpin all of it. I'm releasing this Spring Tips installment early, just in time SpringOne Platform 2017 and the big announcements of the day.

Spring Batch 4.0.0.RELEASE is now available

Releases | Michael Minella | December 04, 2017 | ...

We are pleased to announce that Spring Batch 4.0.0.RELEASE is now available through Github, the Pivotal download repository, and Maven Central. This is the generally available release of the 4.0 line. Many thanks to all that contributed to this release.

How We Got Here

Spring Batch 4 is the first major version release of Spring Batch since 3.0 went out in 2014. A lot has changed in the Spring ecosystem since that version went out. This release is intended to bring Spring Batch up to date with those changes. When Spring Batch 3 came out, Java configuration was just beginning to take over…

Spring Session (Core/MongoDB/Geode) 2.0.0.RC2 released!

Engineering | Greg L. Turnquist | December 03, 2017 | ...

Greetings Spring community,

In preparation for the soon-to-be GA release, Spring Session, Spring Session MongoDB, and Spring Session for Apache Geode and Pivotal GemFire have all aligned to versions 2.0.0.RC2 for this release.

In case you missed it, this is what’s included with each of the modules:

  • Core - includes support for Redis, JDBC, and Hazelcast

  • MongoDB - both traditional blocking as well as reactive support for MongoDB

  • Apache Geode - support for Apache Geode as well as Pivotal GemFire (including the PCC service with the SSC extension on PCF)

In this version, Spring Session has…

Spring for Apache Kafka 2.1.0.RELEASE (and 1.3.2, 2.0.2) Available

Releases | Gary Russell | December 01, 2017 | ...

I am pleased to announce the availability of Spring for Apache Kafka 2.1.0.RELEASE.

In addition, maintenance releases 1.3.2.RELEASE and 2.0.2.RELEASE are available, containing important bug fixes. See also below for information about spring-integration-kafka 3.0.0.RELEASE. It is recommended that all users upgrade.

The main purpose of the 2.1 release is to upgrade the kafka-clients library to 1.0.0, but we have included a few improvements:

  • Sometimes, when a message can’t be processed, you may wish to stop the container so the condition can be corrected and the message re-delivered. The framework now provides the ContainerStoppingErrorHandler for record listeners and ContainerStoppingBatchErrorHandler for batch listeners.

  • The KafkaAdmin now supports increasing partitions when a NewTopic bean is detected with a larger number of partitions than currently exist on the topic.

  • StringJsonMessageConverter and JsonSerializer/JsonDeserializer now pass and consume type information in Headers. This allows multiple types to be easily sent/received on the same topic:

    @SpringBootApplication public class Kafka21Application {

    public static void main(String[] args) {
        SpringApplication.run(Kafka21Application.class, args)
            .close();
    }
    
    @Bean
    public ApplicationRunner runner(KafkaTemplate<Object, Object> template) {
        return args -> {
            template.send(MessageBuilder.withPayload(42)
                    .setHeader(KafkaHeaders.TOPIC, "blog")
                    .build());
            template.send(MessageBuilder.withPayload("4…

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