Cloud Event Driven Architectures with
Spring Cloud Stream 2.0
Oleg Zhurakousky
@z_oleg
1
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Scope
2
• What is Cloud?
• What is Event and Event driven Architecture?
• Problem statement
• Putting it all together with Spring
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Cloud
3
• Ecosystem that integrates platforms and middleware into one cohesive hybrid
runtime.
• Messaging (JMS, AMQP, Kafka, etc.)
• File Systems
• Databases
• Etc. . .
• Outsources infrastructure concerns to the cloud provider via cloud
connectors/services
• Provides mechanism for applications services (clients) to interact with cloud
services.
• Naturally Event oriented
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Events
4
• Event - representation of a state change
• Always in past tense
• Events are delivered in a form or protocol specific records using some Messaging
middleware.
• Many delivery mechanisms
• HTTP (REST)
• Publish/Subscribe
• variation of pipes-and-filters pattern
• multiple subscribers
• Events contain meta-data (i.e., event type)
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Events
5
• Event - representation of a state change
• Always in past tense
• Events are delivered in a form or protocol specific records using some Messaging
middleware.
• Many delivery mechanisms
• HTTP (REST)
• Publish/Subscribe
• variation of pipes-and-filters pattern
• multiple subscribers
• Events contain meta-data (i.e., event type)
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Problem
6
• Single JVM deployment model
• Limits management and lifecycle characteristic of your service
• Shared resources
• Infrastructure may leak into your app code
• Duplication of effort
• Cross platform integration
• Event representation - transformation/conversion/serialization
• Content-based routing (data or meta-data)
• Different programming models - imperative vs declarative (functional)
Putting it together
Putting it together
Spring Integration
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Spring Integration
9
• Messaging framework which provides implementation of EIP
on top of Spring Messaging
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Spring Integration
10
Messaging framework which provides implementation of EIP on
top of Spring Messaging
Demo
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Spring Integration
11
• Pros/Cons
• Handles message dispatching while exposing POJO-based flexible
application development model
• Shares resources
Putting it together
Putting it together
Spring Cloud Stream
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Spring Cloud Stream
14
• Framework for building message-driven micro services
• Provides boot-driven integration with Messaging Brokers using Binders
• Leverages native features of brokers while also providing a workaround for not
supported features.
• Partitioning
• Consumer Groups
• Message Headers
• Destination provisioning
• Honors application configurations by the underlying frameworks (spring-integration,
spring-kafka etc.)
• Kafka & Rabbit are currently supported
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Spring Cloud Stream
15
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Spring Cloud Stream
16
PubSub destinations
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Spring Cloud Stream
17
PubSub destinations
Content negotiation
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Spring Cloud Stream
18
PubSub destinations
Content negotiation
Consumer groups, partitioning etc.
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Spring Cloud Stream - summary
19
• Durable Publish-Subscribe messaging
• For easily creating complex topologies
• Consumer groups
• Multiple instances can be competing consumers when scaling
• Declarative data partitioning
• Colocating related data in consumer instances (Kafka, Rabbit etc)
• Content negotiation
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Spring Cloud Stream - programming model
20
• Spring Cloud Stream - Spring Boot app
• Flexible configuration (i.e., Annotation, XML, hybrid)
• Binders
• Streaming
• KStream
• Channel-based
• Kafka
• Rabbit
• Seamless integration with the rest of the Spring Cloud stack
• Metrics
• Sleuth
• Config
• Circuit Braker
• Etc.
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Spring Cloud Stream - programming model
22
• Imperative
• Declarative
Putting it together
Spring Cloud Stream - DEMO
Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative
Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/
Spring Cloud Stream - Links
24
• http://cloud.spring.io/spring-cloud-stream
• https://github.com/spring-cloud/spring-cloud-stream
• https://github.com/spring-cloud/spring-cloud-stream-binder-kafka
• https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit
Learn More. Stay Connected.
Thank you!
25
#springone@s1p

More Related Content

PDF
Event Driven Microservices with Spring Cloud Stream #jjug_ccc #ccc_ab3
PPTX
マイクロサービスに必要な技術要素はすべてSpring Cloudにある #DO07
PDF
Microservices with Spring and Cloud Foundry
PDF
Spring Cloud Function & Project riff #jsug
PDF
Serverless with Spring Cloud Function, Knative and riff #SpringOneTour #s1t
PDF
From Zero to Hero with REST and OAuth2 #jjug
PDF
Spring Cloud Data Flow Overview
PDF
Building Distributed Systems with Netflix OSS and Spring Cloud
Event Driven Microservices with Spring Cloud Stream #jjug_ccc #ccc_ab3
マイクロサービスに必要な技術要素はすべてSpring Cloudにある #DO07
Microservices with Spring and Cloud Foundry
Spring Cloud Function & Project riff #jsug
Serverless with Spring Cloud Function, Knative and riff #SpringOneTour #s1t
From Zero to Hero with REST and OAuth2 #jjug
Spring Cloud Data Flow Overview
Building Distributed Systems with Netflix OSS and Spring Cloud

What's hot (20)

PDF
Simplify Cloud Applications using Spring Cloud
PDF
The Beginner’s Guide To Spring Cloud
PDF
Spring IO 2016 - Spring Cloud Microservices, a journey inside a financial entity
PPTX
Cloud Native Spring - The role of Spring Cloud after Kubernetes became a main...
PDF
Spring ❤️ Kotlin #jjug
PDF
Concourse x Spinnaker #concourse_tokyo
PDF
Spring Boot on Amazon Web Services with Spring Cloud AWS
PDF
Spring Cloud Function: Where We Were, Where We Are, and Where We’re Going
PDF
Itb 2021 - Bulding Quick APIs by Gavin Pickin
PDF
Java Microservices with Spring Boot and Spring Cloud - Denver JUG 2019
PPTX
Microservices with kubernetes @190316
PDF
Implement Service Broker with Spring Boot #cf_tokyo
PDF
What’s New in Spring Data MongoDB
PDF
Serverless Spring
PDF
Open Service Broker APIとKubernetes Service Catalog #k8sjp
PPTX
Reactive programming by spring webflux - DN Scrum Breakfast - Nov 2018
PDF
Spring5 New Features - Nov, 2017
PPTX
If Hemingway Wrote JavaDocs
PDF
Reactive Spring Framework 5
PDF
Unleash the True Power of Spring Cloud: Learn How to Customize Spring Cloud
Simplify Cloud Applications using Spring Cloud
The Beginner’s Guide To Spring Cloud
Spring IO 2016 - Spring Cloud Microservices, a journey inside a financial entity
Cloud Native Spring - The role of Spring Cloud after Kubernetes became a main...
Spring ❤️ Kotlin #jjug
Concourse x Spinnaker #concourse_tokyo
Spring Boot on Amazon Web Services with Spring Cloud AWS
Spring Cloud Function: Where We Were, Where We Are, and Where We’re Going
Itb 2021 - Bulding Quick APIs by Gavin Pickin
Java Microservices with Spring Boot and Spring Cloud - Denver JUG 2019
Microservices with kubernetes @190316
Implement Service Broker with Spring Boot #cf_tokyo
What’s New in Spring Data MongoDB
Serverless Spring
Open Service Broker APIとKubernetes Service Catalog #k8sjp
Reactive programming by spring webflux - DN Scrum Breakfast - Nov 2018
Spring5 New Features - Nov, 2017
If Hemingway Wrote JavaDocs
Reactive Spring Framework 5
Unleash the True Power of Spring Cloud: Learn How to Customize Spring Cloud
Ad

Similar to Cloud Event Driven Architectures with Spring Cloud Stream 2.0 (20)

PDF
Cloud Event Driven Architectures with Spring Cloud Stream 2.0 - Oleg Zhurakousky
PPTX
Kafka Summit NYC 2017 - Cloud Native Data Streaming Microservices with Spring...
PDF
Cloud-Native Streaming and Event-Driven Microservices
PPTX
Cloud Event Driven Architectures with Spring Cloud Stream 2.0 - SpringOne Tou...
PDF
Spring Cloud Stream: What's New in 2.x—and What's Next?
PPTX
Deploying Spring Boot apps on Kubernetes
PDF
Building .NET Microservices
PDF
Running Java Applications on Cloud Foundry
PPTX
Connecting All Abstractions with Istio
PPTX
High performance stream processing
PPT
IBM Hybrid Cloud Integration UCC Talk, 21st November 2018
PDF
Cloud Foundry Networking: Enabling Direct Communicatitions for Microservices
PPTX
Simple Data Movement Patterns: Legacy Application to Cloud-Native Environment...
PPTX
How to Build More Secure Service Brokers
PDF
Lattice: A Cloud-Native Platform for Your Spring Applications
PDF
Intro To Reactive Programming
PDF
Cross-Platform Observability for Cloud Foundry
PDF
MNAssociationEnterpriseArchitectsCloudFoundryJuly2017
PDF
IoT Physical Servers and Cloud Offerings.pdf
PDF
P to V to C: The Value of Bringing “Everything” to Containers
Cloud Event Driven Architectures with Spring Cloud Stream 2.0 - Oleg Zhurakousky
Kafka Summit NYC 2017 - Cloud Native Data Streaming Microservices with Spring...
Cloud-Native Streaming and Event-Driven Microservices
Cloud Event Driven Architectures with Spring Cloud Stream 2.0 - SpringOne Tou...
Spring Cloud Stream: What's New in 2.x—and What's Next?
Deploying Spring Boot apps on Kubernetes
Building .NET Microservices
Running Java Applications on Cloud Foundry
Connecting All Abstractions with Istio
High performance stream processing
IBM Hybrid Cloud Integration UCC Talk, 21st November 2018
Cloud Foundry Networking: Enabling Direct Communicatitions for Microservices
Simple Data Movement Patterns: Legacy Application to Cloud-Native Environment...
How to Build More Secure Service Brokers
Lattice: A Cloud-Native Platform for Your Spring Applications
Intro To Reactive Programming
Cross-Platform Observability for Cloud Foundry
MNAssociationEnterpriseArchitectsCloudFoundryJuly2017
IoT Physical Servers and Cloud Offerings.pdf
P to V to C: The Value of Bringing “Everything” to Containers
Ad

More from VMware Tanzu (20)

PDF
Spring into AI presented by Dan Vega 5/14
PDF
What AI Means For Your Product Strategy And What To Do About It
PDF
Make the Right Thing the Obvious Thing at Cardinal Health 2023
PPTX
Enhancing DevEx and Simplifying Operations at Scale
PDF
Spring Update | July 2023
PPTX
Platforms, Platform Engineering, & Platform as a Product
PPTX
Building Cloud Ready Apps
PDF
Spring Boot 3 And Beyond
PDF
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
PDF
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
PDF
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
PPTX
tanzu_developer_connect.pptx
PDF
Tanzu Virtual Developer Connect Workshop - French
PDF
Tanzu Developer Connect Workshop - English
PDF
Virtual Developer Connect Workshop - English
PDF
Tanzu Developer Connect - French
PDF
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
PDF
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
PDF
SpringOne Tour: The Influential Software Engineer
PDF
SpringOne Tour: Domain-Driven Design: Theory vs Practice
Spring into AI presented by Dan Vega 5/14
What AI Means For Your Product Strategy And What To Do About It
Make the Right Thing the Obvious Thing at Cardinal Health 2023
Enhancing DevEx and Simplifying Operations at Scale
Spring Update | July 2023
Platforms, Platform Engineering, & Platform as a Product
Building Cloud Ready Apps
Spring Boot 3 And Beyond
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
tanzu_developer_connect.pptx
Tanzu Virtual Developer Connect Workshop - French
Tanzu Developer Connect Workshop - English
Virtual Developer Connect Workshop - English
Tanzu Developer Connect - French
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
SpringOne Tour: The Influential Software Engineer
SpringOne Tour: Domain-Driven Design: Theory vs Practice

Recently uploaded (20)

PPTX
TEXTILE technology diploma scope and career opportunities
PDF
CloudStack 4.21: First Look Webinar slides
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PDF
A review of recent deep learning applications in wood surface defect identifi...
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
Flame analysis and combustion estimation using large language and vision assi...
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
PPTX
Configure Apache Mutual Authentication
PPT
What is a Computer? Input Devices /output devices
PDF
UiPath Agentic Automation session 1: RPA to Agents
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Zenith AI: Advanced Artificial Intelligence
TEXTILE technology diploma scope and career opportunities
CloudStack 4.21: First Look Webinar slides
OpenACC and Open Hackathons Monthly Highlights July 2025
A review of recent deep learning applications in wood surface defect identifi...
sustainability-14-14877-v2.pddhzftheheeeee
Convolutional neural network based encoder-decoder for efficient real-time ob...
sbt 2.0: go big (Scala Days 2025 edition)
Flame analysis and combustion estimation using large language and vision assi...
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Benefits of Physical activity for teenagers.pptx
A proposed approach for plagiarism detection in Myanmar Unicode text
A contest of sentiment analysis: k-nearest neighbor versus neural network
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
Configure Apache Mutual Authentication
What is a Computer? Input Devices /output devices
UiPath Agentic Automation session 1: RPA to Agents
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Chapter 5: Probability Theory and Statistics
Zenith AI: Advanced Artificial Intelligence

Cloud Event Driven Architectures with Spring Cloud Stream 2.0

  • 1. Cloud Event Driven Architectures with Spring Cloud Stream 2.0 Oleg Zhurakousky @z_oleg 1
  • 2. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Scope 2 • What is Cloud? • What is Event and Event driven Architecture? • Problem statement • Putting it all together with Spring
  • 3. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Cloud 3 • Ecosystem that integrates platforms and middleware into one cohesive hybrid runtime. • Messaging (JMS, AMQP, Kafka, etc.) • File Systems • Databases • Etc. . . • Outsources infrastructure concerns to the cloud provider via cloud connectors/services • Provides mechanism for applications services (clients) to interact with cloud services. • Naturally Event oriented
  • 4. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Events 4 • Event - representation of a state change • Always in past tense • Events are delivered in a form or protocol specific records using some Messaging middleware. • Many delivery mechanisms • HTTP (REST) • Publish/Subscribe • variation of pipes-and-filters pattern • multiple subscribers • Events contain meta-data (i.e., event type)
  • 5. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Events 5 • Event - representation of a state change • Always in past tense • Events are delivered in a form or protocol specific records using some Messaging middleware. • Many delivery mechanisms • HTTP (REST) • Publish/Subscribe • variation of pipes-and-filters pattern • multiple subscribers • Events contain meta-data (i.e., event type)
  • 6. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Problem 6 • Single JVM deployment model • Limits management and lifecycle characteristic of your service • Shared resources • Infrastructure may leak into your app code • Duplication of effort • Cross platform integration • Event representation - transformation/conversion/serialization • Content-based routing (data or meta-data) • Different programming models - imperative vs declarative (functional)
  • 9. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Spring Integration 9 • Messaging framework which provides implementation of EIP on top of Spring Messaging
  • 10. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Spring Integration 10 Messaging framework which provides implementation of EIP on top of Spring Messaging Demo
  • 11. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Spring Integration 11 • Pros/Cons • Handles message dispatching while exposing POJO-based flexible application development model • Shares resources
  • 14. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Spring Cloud Stream 14 • Framework for building message-driven micro services • Provides boot-driven integration with Messaging Brokers using Binders • Leverages native features of brokers while also providing a workaround for not supported features. • Partitioning • Consumer Groups • Message Headers • Destination provisioning • Honors application configurations by the underlying frameworks (spring-integration, spring-kafka etc.) • Kafka & Rabbit are currently supported
  • 15. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Spring Cloud Stream 15
  • 16. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Spring Cloud Stream 16 PubSub destinations
  • 17. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Spring Cloud Stream 17 PubSub destinations Content negotiation
  • 18. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Spring Cloud Stream 18 PubSub destinations Content negotiation Consumer groups, partitioning etc.
  • 19. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Spring Cloud Stream - summary 19 • Durable Publish-Subscribe messaging • For easily creating complex topologies • Consumer groups • Multiple instances can be competing consumers when scaling • Declarative data partitioning • Colocating related data in consumer instances (Kafka, Rabbit etc) • Content negotiation
  • 20. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Spring Cloud Stream - programming model 20 • Spring Cloud Stream - Spring Boot app • Flexible configuration (i.e., Annotation, XML, hybrid) • Binders • Streaming • KStream • Channel-based • Kafka • Rabbit • Seamless integration with the rest of the Spring Cloud stack • Metrics • Sleuth • Config • Circuit Braker • Etc.
  • 21. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Spring Cloud Stream - programming model 22 • Imperative • Declarative
  • 22. Putting it together Spring Cloud Stream - DEMO
  • 23. Unless otherwise indicated, these slides are © 2013 -2017 Piv otal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by -nc/3.0/ Spring Cloud Stream - Links 24 • http://cloud.spring.io/spring-cloud-stream • https://github.com/spring-cloud/spring-cloud-stream • https://github.com/spring-cloud/spring-cloud-stream-binder-kafka • https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit
  • 24. Learn More. Stay Connected. Thank you! 25 #springone@s1p

Editor's Notes

  • #3: The emergence of microservices and cloud native architectures has triggered a resurgence of interest in Event Driven Architectures where Event is one of the building blocks and the primary mechanism for enabling eventual consistency in a distributed system. But what is Cloud Native Architectures? What is Event and Event Driven Arch? Not something that is new. In fact it is not new at all but it is evolving in such speed that we constantly need to redefine, clarify, expend and formulate what does it really mean to us? If ask people to define the cloud what are the chances I’ll get the same answer?
  • #4: Allows clients to communicate and integrate with one another using cloud-managed shared services
  • #5: LocalTime.now(); - not true
  • #6: LocalTime.now(); - not true