79

Spring Cloud Data Flow 1.3 GA released

 6 years ago
source link: https://spring.io/blog/2018/02/01/spring-cloud-data-flow-1-3-ga-released
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
<div class="paragraph"> <p>On behalf of the team, I am pleased to announce the general availability of Spring Cloud Data Flow 1.3 across a range of platforms</p> </div><div class="paragraph"> <p>Follow the Getting Started guides for <a href="https://docs.spring.io/spring-cloud-dataflow/docs/1.3.0.RELEASE/reference/htmlsingle/#getting-started">Local Server</a>, <a href="https://docs.spring.io/spring-cloud-dataflow-server-cloudfoundry/docs/1.3.0.RELEASE/reference/htmlsingle/#getting-started">Cloud Foundry</a>, and <a href="https://docs.spring.io/spring-cloud-dataflow-server-kubernetes/docs/1.3.0.RELEASE/reference/htmlsingle/#kubernetes-getting-started">Kubernetes</a>.</p> </div><h1 id="release-highlights" class="sect0"><a class="anchor" href="#release-highlights"></a>Release Highlights</h1><div class="sect1"> <h2 id="stream-updates-and-rollback"><a class="anchor" href="#stream-updates-and-rollback"></a>Stream updates and rollback</h2> <div class="sectionbody"> <div class="paragraph"> <p>A streaming data pipeline orchestrated as a series of microservice applications has always been the core value of Spring Cloud Data Flow’s design. In Data Flow 1.3 we have provided the ability to update sources, processors, and sinks independently without having to undeploy and redeploy the entire stream.</p> </div> <div class="paragraph"> <p>The stream update and rollback functionality is implemented by delegating the deployment process to a new Spring Cloud project called <a href="http://cloud.spring.io/spring-cloud-skipper/">Skipper</a>. Skipper is a lightweight Spring Boot application, purpose-built to fill this feature gap in Data Flow. Skipper defines a package format, much like <code>helm</code> or <code>brew</code> and can also deploy/undeploy applications to multiple cloud platforms: Local, Cloud Foundry, and Kubernetes. It uses the same Spring Cloud Deployer libraries that have been part of Data Flow since the beginning. Recent presentations at SpringOne 2017 <a href="https://content.pivotal.io/springone-platform-2017/continuous-deployment-made-easy-with-skipper-mark-pollack">introduces Skipper</a> and the <a href="https://content.pivotal.io/springone-platform-2017/orchestrating-data-microservices-with-spring-cloud-data-flow-mark-pollack">integration with Data Flow</a> in more depth.</p> </div> <div class="paragraph"> <p>When deploying a Stream, Data Flow creates Skipper package describing the Stream and the applications that are part of the Stream definition. Skipper then deploys the applications to the desired platform. When requesting a stream update, only the application or applications that need to be changed are automatically redeployed. A simple strategy managed by a Spring Statemachine instance performs the update or rollback steps.</p> </div> <div class="paragraph"> <p>Data Flow includes new stream commands to make upgrade and rollback operations.</p> </div> <div class="listingblock"> <div class="content"> <pre>dataflow:&gt;app register --name transform --type processor --uri maven://com.eg:transformer:0.0.1dataflow:&gt;stream create mystream --definition "jdbc | transform | mongodb"dataflow:&gt;app register --name transform --type processor --uri maven://com.eg:transformer:0.0.2dataflow:&gt;stream update mystream --properties “version.transform=0.0.2”dataflow:&gt;stream rollback mystream</pre> </div> </div> <div class="paragraph"> <p>In this series of commands, the stream is deployed using version 0.0.1 of the transformer. The <code>jdbc</code> and <code>mongodb</code> source and sink are already registered. The stream is then updated to use version 0.0.2 of the transformer. Only the <code>transform</code> application is updated, with version 0.0.2 being deployed and version 0.0.1 being undeployed. The <code>jdbc</code> and <code>mongodb</code> applications are left as-is. The rollback command does the opposite, bringing the stream back to the state with version 0.0.1 of the transformer.</p> </div> <div class="paragraph"> <p>Note: To use Data Flow and Skipper, Data Flow’s <a href="https://docs.spring.io/spring-cloud-dataflow/docs/1.3.0.RELEASE/reference/htmlsingle/#getting-started-deploying-spring-cloud-dataflow">feature toggle for Skipper</a> must be enabled in both the Data Flow Server and shell.</p> </div> </div> </div>

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK