Repository navigation
Brooklyn Release Notes
This page contains release notes for the Brooklyn release train of Spring Cloud Stream.
At a high level, Brooklyn.RELEASE introduces the following new features:
- Support for Apache Kafka 0.9 and 0.10 (Apache Kafka 0.8.x users must use 1.0)
- Schema Registry support
- Reactive API support
The most important aspect of upgrading from Spring Cloud Stream 1.0 is the switch from a monolithic release to a release train.
The following components are part of the release train:
- Spring Cloud Stream 1.1.0.RELEASE - includes the core components and Binder SPI
- Spring Cloud Stream Kafka Binder 1.1.0.RELEASE
- Spring Cloud Stream Rabbit Binder 1.1.0.RELEASE
The preferred usage for the release train is by adding spring-cloud-stream-dependencies as part of the dependencyManagement section of your POM (or by using the dependency management gradle plugin).
<dependencyManagement>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream-dependencies</artifactId>
<version>Brooklyn.RELEASE</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencyManagement>
Spring Cloud Stream is also part of the Camden release train of Spring Cloud, so you can use the Camden BOM instead as well.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Camden.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
Spring Cloud Stream applications will not start up contexts automatically anymore.
Should you need to do so, you can always start the context returned by SpringApplication.run() or use SmartLifecycle beans for auto-startup.
Due to upgrading from Spring Integration Kafka 1.3.x to Spring Kafka 1.x and Spring Integration Kafka 2.x The fully qualified name of the Kafka Acknowledgment class has changed from org.springframework.integration.kafka.listener.Acknowledgment to org.springframework.kafka.support.Acknowledgment.
Make sure that you operate the necessary changes in your code.