Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Spring Cloud Stream 1.0.0.RELEASE Now Available

DZone's Guide to

Spring Cloud Stream 1.0.0.RELEASE Now Available

The new Spring framework for cloud streams is now available. Use it for event-driven microservices with either KAFKA or Rabbit MQ.

· Cloud Zone
Free Resource

MongoDB Atlas is a database as a service that makes it easy to deploy, manage, and scale MongoDB. So you can focus on innovation, not operations. Brought to you in partnership with MongoDB.

On behalf of the team, I am pleased to announce the general availability of Spring Cloud Stream 1.0.0.RELEASE. The artifacts can be found in Spring Repository as well as Maven Central.

The goal of Spring Cloud Stream is to be a lightweight framework for developing event-driven microservices, building on the ease of development and deployment of Spring Boot, and the component model and integration capabilities of Spring Integration. As part of the Spring Cloud family of projects, it has a specific focus on cloud-native architectures.

In order to simplify the development of both streaming and more traditional enterprise integration, it provides a number of primitives and abstractions such as:

  • Persistent publish-subscribe semantics between different logical applications;
  • Consumer group support for scaling individual applications;
  • Declarative partitioning support;
  • Declarative message conversion support;

All features above are implemented in a middleware agnostic-fashion through the framework’s Binder abstraction, that allows for different implementations to adapt the model to the native capabilities of the communication middleware. This allows the developers to focus on the business abstractions, and also to develop reusable components that can be used with different flavors of messaging middleware. Spring Cloud Stream 1.0.0.RELEASE ships with Binders for Apache Kafka and Rabbit MQ. Additional implementations, such as Gemfire are available.

The whole list of features can be found in the reference documentation and examples can be found here.

From the first commit, 21 contributors from the Spring team and the community have been adding 506 commits and resolving 189 issues.

Spring Cloud Stream has an older heritage than its commit history. It has been born as part of rethinking Spring XD (to which it owes a significant part of its current code) from a cloud-native, microservice-oriented perspective, more specifically redefining the notions of module and message bus in a Spring Boot and Spring Cloud-friendly fashion. It provides the mechanisms to write long-lived microservices that can be orchestrated and deployed across various platforms (Cloud Foundry, Apache YARN, Kubernetes, Apache Mesos) in sophisticated streaming pipelines by Spring Cloud Data Flow, in counterpart with its task-oriented sibling Spring Cloud Task. It powers a rich ecosystem of Spring Cloud Stream applications that integrate with various types of middleware and data stores, owing to its Spring Integration foundation. It also powers a few other Spring Cloud projects: Spring Cloud BusSpring Cloud Hystrix, and Spring Cloud Sleuth, who as early adopters have provided tremendously valuable input.

Thanks and congratulations to everyone who has been part of this journey, current and former members of the Spring XD/Spring Cloud Data Flow team, and especially community members who have either been contributing directly or providing the more than necessary feedback for the success of the project. We couldn’t have gotten here without your help and hope you continue to do so.

You can find us on GitHub, Stack Overflow, or Twitter.

As for the future, our intended roadmap includes such items as:

  • Kafka 0.9 client support
  • Support for reactive binders and a reactive programming model
  • Adding new types of binders such as JMS or Kinesis
  • Schema registration and evolution support

Join us for the next leg of the journey!

If you are attending Spring IO in Barcelona, I will be talking about Spring Cloud Stream on Friday, May 20. There are many other great talks from the Spring team members, so check the agenda.

This is also a reminder that Spring One Platform will be taking place in Las Vegas between August 1-4 this year, and you should consider getting your ticket if you haven’t done so already.

MongoDB Atlas is the best way to run MongoDB on AWS — highly secure by default, highly available, and fully elastic. Get started free. Brought to you in partnership with MongoDB.

Topics:
spring ,java ,spring cloud ,springboot ,jvm

Published at DZone with permission of Marius Bogoevici. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}