Hear from the Spring team this January at SpringOne. >
close

Spring For Apache Kafka 2.0 Milestone 3 Available

We are pleased to announce the availability of the Milestone 3 of the Spring for Apache Kafka 2.0 version.

It is available for download from the Milestone Repository:

repositories {
    maven { url 'http://repo.spring.io/libs-milestone' }
}
compile "org.springframework.kafka:spring-kafka:2.0.0.M3"

Since the previous announcement, these feature have made it into the current Milestone:

  • Apache Kafka 0.11.0.0 client base line;

  • With the new Apache Kafka foundation we have introduced KafkaTransactionManager and transactions support in the KafkaTemplate via new executeInTransaction() operation;

  • The KafkaListenerContainer can now be supplied with the TransactionManager to perform polling and offset commits with transaction boundaries;

  • The Kafka Headers support is provided as well. Now you can send and receive messages with any arbitrary headers, for example build request-reply scenarios using some correlationKey header;

  • The ConsumerAwareErrorHandler is provided to manage Consumer state in case of errors;

  • The KafkaEmbedded can now be supplied with any arbitrary brokerProperties.

Read more

This Week in Spring - July 25th, 2017

Hi Spring fans! This week I’m in Istanbul, Turkey talking to customers and speaking at the Spring and Java meetups tonight. I hope you’ll join me and we’ll talk about cloud native Java! As usual, we’ve got a lot to cover this week so let’s get to it!

  • Spring Integration contributor Artem Bilan just announced Spring Integration 4.3.11. This release includes security updates as well as bug fixes.
  • Spring Batch lead Michael Minella just announced Spring Batch 3.0.8, which is mainly a maintenance release and a bugfix release.
  • Spring ninja Stéphane Nicoll has announced Spring Framework 4.3.10 which is a maintenance release for the upcoming Spring Boot 1.5.5 maintenance release. It includes 25 fixes and improvements.
  • Spring Cloud co-founder Spencer Gibb just announced Spring Cloud Dalston SR2. The release is primarily a bugfix. Also of note, this release marks the end of life for Spring Cloud Angel and Spring Cloud Brixton.
  • Spring Framework lead Juergen Hoeller just announced Spring Framework 5.0 RC3. The new release, part of an extended release candidate phase to allow Reactor 3.1, JUnit 5.0, Jackson 2.9 and so much more, includes API refinements in Spring WebFlux, Kotlin support, refined nullability declarations, and updated JDK9 support.
  • Spring Security contributor Joe Grandja just announced Spring Security 5.0.0.M3. The new release includes support for JSON Web Tokens (JWT), JSON Web Signatures (JWS) and integrated ID Token support for OpenID Connect authentication flows.
  • Spring integration and messaging ninja Artem Bilan just announced Spring AMQP 2.0.0 milestone 5. This release includes security fixes and a number of nice new features.
  • Micrometer provides a simple facade over the instrumentation clients for the most popular monitoring systems, allowing you to instrument your JVM-based application code without vendor lock-in. Think SLF4J, but for metrics. This project will serve as the metrics collection subsystem for Spring Boot 2.0 and will be backported to Spring Boot 1.0. Of note, though, is that Micrometer does not require Spring Boot to work. Check it out. There’s so much cool stuff here, one hardly knows where to start.
  • Gyula Lakatos put together an inspired, and detailed, blog detailing his first, and fresh, look at Spring Cloud Function on AWS Lambda. Nice job Gyula!
  • This is an oldie-but-a-goodie: Antonio Simoes talks about moving his companies’ architecture from a monolith to a non-blocking Spring Cloud-based architecture.
  • Microservices were driven by vendors - This isn’t strictly releated to Spring, but I liked Stephen O’Grady’s discussion about microservices - why people adopt them and what differentiates them from SOA.
  • James Governer follows up on Stephen O’Grady’s post on microservices.
  • and in the absolutely-great-news-that-has-nothing-to-do-with-Spring-per-se column: 10 years ago, 2,600 female students took AP Computer Science exam. In 2017, 29,000 female students took the exam. The growth among female students has been incredible, increasing participation in AP CS exams by 135% since 2016. Not to be outdone, underrepresented minorities have increased participation by nearly 170% over last year! Things are trending in the right direction. I sincerely hope our ecosystem sees increased diversity, more inclusion and participation and that it continues to grow.
  • Spring Boot user Nicky Mølholm‏ chimes in to share that the new Lego Life app is, behind the scenes, powered by Spring Boot. As a fan of both Legos and Spring Boot, I thought this was super cool! Congrats to the Lego Life team!
  • Move fast and don’t break things - by Rod Johnson - Spring creator and Atomist CEO Rod Johnson details how his company’s main offering can be a boon to teams using Spring Boot. This is a really cool offering that simplifies the end-to-end story for creating new services (which could and should be in Spring Boot), supporting collaboration, detecting breaking-and-outage-inducing changes, and managing the path to production (in, for example, Cloud Foundry). I’ve signed up!
  • Oracle Java Magazine, this month, has a nice look at some of the new features in Java 9 which is, of course, just around the corner.
  • This is an oldie-but-a-goodie from Spring ninja Greg Turnquist that looks at some issues people think they have with REST and how to get around them. It’s a good read.
Read more

Spring AMQP 2.0.0 Milestone 5 is Available

I am pleased to announce that the Milestone 5 of Spring AMQP 2.0 is now available in the Spring milestone repository.

Features and fixes since the last milestone:

  • Log4j2 AmqpAppender is now thread-safe;

  • DefaultMessagePropertiesConverter now correctly passes arrays for the header values to the AMQP Client library;

  • Jackson2JsonMessageConverter can now be configured for the trustedPackages to fix violation for Jackson Serialization Gadgets;

  • RabbitAdmin operations can now be performed on the same AMQP channel as a unit of work via RabbitTemplate.invoke();

  • PossibleAuthenticationFailureException can now be treated as a non-fatal via particular option on the AbstractMessageListenerContainer;

  • RepublishMessageRecoverer can now be configured for the deliveryMode for messages to republish.

Read more

Spring Security 5.0.0 M3 Released

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

The new features included in this milestone are:

Please refer to the change log for further details on this release.

Read more

Spring Framework 5.0 RC3 - on the way to GA

Dear Spring community,

I’m pleased to announce that the third Spring Framework 5.0 release candidate is available!

This release comes with refined nullability declarations (including the field and bean property level), even stronger Kotlin support (with a declarative bean definition DSL and support for default constructor arguments on Kotlin data classes), as well as several API refinements in Spring WebFlux. Furthermore, Spring Framework 5.0 RC3 ships against Reactor 3.1 M3 and JUnit 5.0 M6 and is fully tested against the recent JDK 9 release candidate.

Read more

Spring Cloud Dalston SR2 is available now

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

This release is primarily a bug fix release and users are encouraged to upgrade.

End of Life for Angel and Brixton release trains

The Angel and Brixton release trains have reached their end of life. As such, there will be no more releases to those trains. The community is encouraged to upgrade to Camden.SR7 or Dalston.SR2.

Read more

Spring Batch 3.0.8.RELEASE is now available

We are pleased to announce that Spring Batch 3.0.8.RELEASE is now available via Maven Central, Github, and the Pivotal download repository. This is the 8th maintenance release for the 3.0.x branch of Spring Batch and addresses a number of minor bug fixes and enhancements. One of the new features is that the DefaultDataFieldMaxValueIncrementerFactory has been updated to support InnoDB for the sequence tables used in MySql for the job repository when using Spring Framework 4.3.6+. Many thanks to all of those who submitted the many pull requests that went into this release.

Read more

Spring Integration 4.3.11 is Available

On behalf of the Spring Integration team, I am pleased to announce that the 4.3.11.RELEASE of Spring Integration is now available.

This release contains a few important bug fixes as well as a couple of improvements. In particular it contains a fix for the Jackson Serialization Gadgets vulnerability. Hence introduced in the version 4.3.10 custom ObjectMapper utility doesn’t allow now to deserialize objects in the untrusted packages. The set of trusted packages can be configured or you can use * to trust all. See JacksonJsonUtils.messagingAwareMapper() for more information.

Read more

Spring Framework 4.3.10 available now

On behalf of the team, I am pleased to announce that Spring Framework 4.3.10 is available now.

This maintenance release is the base for the upcoming Spring Boot 1.5.5 maintenance release and includes 25 fixes and selected improvements. In particular, 4.3.10 now includes an upgrade to Objenesis 2.6 and is therefore ready for Google App Engine on Java 8.

Project Page | GitHub | Issues | Documentation

Read more

This Week in Spring - July 18th, 2017

Hi Spring fans! This week I’m in Crete, Greece, for the epic JCrete un-conference and then it’s off to Istanbul, Turkey for next week’s visits with customers and for the Spring meetup. I hope you’ll join me in Istanbul!

As usual, we’ve got a lot to cover so let’s get to it!

Read more