Spring for Apache Kafka 1.1.0 Milestone 2 Available

Releases | Gary Russell | September 08, 2016 | ...

I am pleased to announce that the second milestone for Spring for Apache Kafka version 1.1.0.M2 is now available in the spring milestone repo.

This includes some bug fixes and the following new features:

  • The ability to process a batch of messages (introduced in the last milestone) is now available when using the @KafkaListener annotation, for example…​

    @KafkaListener(id = "list", topics = "myTopic", containerFactory = "batchFactory") public void listen(List list) { ... }

  • You can now perform seek operations from the listener - this allows setting an initial offset when partitions are assigned by Kafka when using group management. You can also perform arbitrary seek operations after initialization.

Spring Cloud Stream Brooklyn.RC1 is available

Releases | Marius Bogoevici | September 08, 2016 | ...

On behalf of the team, I am pleased to announce the release of the first release candidate of the Spring Cloud Stream Brooklyn release train. Spring Cloud Stream Brooklyn.RC1 is available for use in the Spring Milestone repository, a detailed description of its features can be found in the reference documentation. Release notes are available here and include important information on the migration path.

As this release follows closely the previous milestone release it contains a small number of fixes, and one major addition, which is support for Kafka 0.10 via drop-in dependency replacement.

We…

Spring Session 1.2.2 Released

Releases | Rob Winch | September 07, 2016 | ...

I'm pleased to announce the release of Spring Session 1.2.2.RELEASE. This release contains numerous bug fixes and trivial enhancements. Some of the highlights include:

Project Site | Reference | Help

This Week in Spring - September 6th, 2016

Engineering | Josh Long | September 06, 2016 | ...

Welcome to another installment of This Week in Spring! This week I'm in Shanghai, China and Hangzhou, China where I spoke at the ginormous Huawei Connect conference in Shanghai and where I'll be working with Alibaba and Huawei for a week or so. I'll also be speaking at the Hangzhou Java User Group, too.

(Can you believe we're already in September?? Seriously blown away! 2017 is just around the corner!)

I'm also, technically, on vacation, so I'll keep this post to a minimum! :)

Spring Security OAuth2 - Client Authentication Issue

Engineering | Joe Grandja | August 31, 2016 | ...

Issue #808 was recently reported that allowed a user to authenticate as a client and obtain an access token via the client_credentials or password grant flow.

This unique scenario occurs when a client and user have the same identifier (clientId and username). The user’s credentials are used for client authentication during a client_credentials or password grant flow and is successful in obtaining an access token with the authorities of the client.

The Fix

This bug has been fixed in 1ed986a and released in 2.0.11.RELEASE.

If you’re using Java-based configuration, please update to 2.0.11.RELEASE…

Custom test slice with Spring Boot 1.4

Engineering | Stéphane Nicoll | August 30, 2016 | ...

Spring Boot 1.4 includes a major overhaul of testing support and one of these features is test slicing. I'd like to take the opportunity in this blog post to further explain what it is and how you can easily create your own slices.

Test slicing is about segmenting the ApplicationContext that is created for your test. Typically, if you want to test a controller using MockMvc, surely you don't want to bother with the data layer. Instead you'd probably want to mock the service that your controller uses and validate that all the web-related interaction works as expected. This can be summarized in…

This Week in Spring - August 30th, 2016

Engineering | Josh Long | August 30, 2016 | ...

Welcome to another installment of This Week in Spring! This week I've been in San Francisco, (where I live and) where I addressed the Silicon Valley Spring User Group. Now it's off to beautiful China to bring some Spring and Pivotal (and, maybe, take a little vacation!)

As usual, we have a lot to get to so let's!

Spring Cloud Camden M1 is available

Releases | Marcin Grzejszczak | August 29, 2016 | ...

On behalf of the team, I am pleased to announce that Milestone 1 of the Spring Cloud Camden Release Train is available today. The release can be found in our Spring Milestone repository. We’ve made numerous enhancements and bug fixes! You can check out the Camden.M1 release notes for more information.

The following modules were updated as part of Camden.M1:

Spring Cloud Build        1.2.0.RELEASE
Spring Cloud Stream       Brooklyn.M1
Spring Cloud Bus          1.2.0.M1
Spring Cloud Config       1.2.0.M1
Spring Cloud Netflix      1.2.0.M1
Spring Cloud Consul       1.1.0.M1
Spring Cloud…

Spring Web Services 2.3.1/2.4.0 are released

Engineering | Greg L. Turnquist | August 29, 2016 | ...

Greetings Spring community,

Spring Web Services has just released versions 2.3.1.RELEASE and 2.4.0.RELEASE.

2.3.1.RELEASE is a minor patch release.

2.3.1 Release Notes | 2.3.1 Documentation.

2.4.0.RELEASE rebases Spring Web Services to run on Spring Framework 4.2.x & Spring Security 4.0.x, the stable baselines behind Spring 4.3/Spring Security 4.1. At the same time, it remains compatible with Java 7. This version includes changes to the code base making it forward compatible with Spring 4.3 and 5.0, so you are free to move up to whichever version of Spring/Spring Security you wish to use.

2.4.0 Release Notes | 2.4.0 Documentation

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