SlideShare a Scribd company logo
Simple Data Movement Patterns:
Legacy Application to Cloud-
Native Environment and Apache
Geode
October 7–10, 2019
Austin Convention Center
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Safe Harbor Statement
The following is intended to outline the general direction of Pivotal's offerings. It is intended for information
purposes only and may not be incorporated into any contract. Any information regarding pre-release of
Pivotal offerings, future updates or other planned modifications is subject to ongoing evaluation by Pivotal
and is subject to change. This information is provided without warranty or any kind, express or implied, and
is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making
purchasing decisions regarding Pivotal's offerings. These purchasing decisions should only be based on
features currently available. The development, release, and timing of any features or functionality
described for Pivotal's offerings in this presentation remain at the sole discretion of Pivotal. Pivotal has no
obligation to update forward looking information in this presentation.
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
GeodeConf i g
object
object
Legacy
T he Cl o u d
Cl o u d Cache
ODS
ACME Co r po r at i o n
Case study: ACME Corp
• Background
• Pain
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 5
Roadmap
Considerations
• Constraints and conditions
surrounding migration pathways
• Goals
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
• There will be a continued use of legacy
application data by back end systems
• Some applications in cloud use cloud data
• Some applications in cloud use legacy data
• Some applications will use cloud and legacy
• Data will have to move from legacy to cloud
Constraints and conditions
surrounding migration pathways
6
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
• Optimally move all operational data to cloud
• Minimally invasive on legacy domain code and
data
• Should be a transition period where data is pushed
to cloud but will be shutoff when all cloud apps can
operate independently - that should be
configurable.
Goals
7
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Four Common
Migration Patterns
Business Value versus Technical Value
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Point to Point Socket connection
object
object
Legacy
Legacy
Dat abase
T he Cl o u d
Cl o u d
Apps
ODS
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Claim Check Pattern
object
object
Legacy
Legacy
Dat abase T he Cl o u d
Cl o u d
Apps
PCC
label
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Tightly Coupled Message Bus
object
object
Legacy
Legacy
Dat aba se
T he Cl o u d
Cl o u d
Apps
Message Bu s
ODS
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Loosely Coupled Message Bus
object
object
Legacy
Legacy Dat abase
T he Cl o u d
Cl o u d
Apps
So ur ce Message Bu s
Si n k Upd at e API
ODS
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
DEMO
Technology Stack for a
Loosely Coupled Message Bus
RabbitMQ
Java
Spring Boot
Pivotal Cloud Cache
Pivotal Platform
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
1
4
THE CODE
What you need to wire it all
up
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Loosely Coupled Message Bus
GeodeConf i g
object
object
Legacy
Legacy Dat abase
T he Cl o u d
G eo d eCo n f i g
LegacySi m Appl i cat i o n
Upd at er API Appl i cat i o n
PCC
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
1
6
@EnableEntityDefinedRegions(basePackages="io.pivotal.s1p.model")
@EnableGemfireRepositories
@EnablePdx
@EnableSecurity
@Configuration
public class GeodeConfig {
}
Geode (PCC)
GeodeConf i g
object
object
Legacy
Legacy Dat abase
T he Cl o u d
G eo d eCo n f i g
LegacySi m Appl i cat i o n
Upd at er API Appl i cat i o n
PCC
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
1
7
@EnableBinding(Source.class)
public class FileSourceConfiguration {
@Autowired
Source source;
@InboundChannelAdapter(value = Source.OUTPUT)
public Customer customerFileStreamSingleMessage() {
CustomerParser parser = new CustomerParser();
List<Customer> customers =
parser.buildCustomerList(new FileReader().readCustomers());
return customers;
}
}
RMQ Source
GeodeConf i g
object
object
Legacy
Legacy Dat abase
T he Cl o u d
G eo d eCo n f i g
LegacySi m Appl i cat i o n
Upd at er API Appl i cat i o n
PCC
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
1
8
@EnableBinding(Sink.class)
public class UpdaterApiApplication {
@Autowired
UpdateCustomerService updateCustomerService;
@StreamListener(Sink.INPUT)
public void handle(Customer customer) {
updateCustomerService.createCustomer(customer);
}
}
RMQ Sink
GeodeConf i g
object
object
Legacy
Legacy Dat abase
T he Cl o u d
G eo d eCo n f i g
LegacySi m Appl i cat i o n
Upd at er API Appl i cat i o n
PCC
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
THE DEMO
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
2
0
GeodeConf i g
object
object
Legacy
Legacy Dat abase
T he Cl o u d
G eo d eCo n f i g
LegacySi m Appl i cat i o n
Upd at er API Appl i cat i o n
PCC
c1
Stay Connected.
#springone@s1p
jbedenbaugh@pivotal.io
zhansen@pivotal.io
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
QUESTIONS
AND
DISCUSSION

More Related Content

PDF
Highly Available and Resilient Multi-Site Deployments Using Spinnaker
PDF
Steeltoe: Develop .NET Microservices Without Cloud Platform Lock-In
PPTX
Monoliths, Microservices, Events, Functions: What It Takes to Go Through the ...
PPTX
Spring Cloud on Kubernetes
PDF
Making Magic with Balanced Teams
PDF
Deliver Your Service on PKS
PPTX
Experience + Education = Empowerment
PPTX
How to Build More Secure Service Brokers
Highly Available and Resilient Multi-Site Deployments Using Spinnaker
Steeltoe: Develop .NET Microservices Without Cloud Platform Lock-In
Monoliths, Microservices, Events, Functions: What It Takes to Go Through the ...
Spring Cloud on Kubernetes
Making Magic with Balanced Teams
Deliver Your Service on PKS
Experience + Education = Empowerment
How to Build More Secure Service Brokers

What's hot (20)

PPTX
Data Modernization for Spring-Based Microservices on Pivotal Platform
PPTX
The Reality of DIY Kubernetes vs. PKS
PDF
AppTx: Transforming legacy apps at Northern Trust
PPTX
Securing Pivotal Platform at Prime Therapeutics
PPTX
Building Highly Scalable Spring Applications using In-Memory Data Grids
PPTX
Accelerating the Consumption of APIs Built on Cloud Foundry
PDF
Spring Cloud Stream: What's New in 2.x—and What's Next?
PPTX
A Case for Grails
PDF
P to V to C: The Value of Bringing “Everything” to Containers
PDF
riffing on Knative - Scott Andrews
PPTX
A Tale of Transformation: Changing the Way We Deliver and Transform Product D...
PDF
Node.JS Vs PHP: Which Is The Top Server-Side Programming Language?
PDF
Spring Cloud in a Nutshell
PDF
Consumer Driven Contracts and Your Microservice Architecture
PPTX
Cloud service api design rules presentation
PPTX
A JBoss Enterprise Middleware Solution to Improving Business Execution
PDF
Building the Pivotal RabbitMQ for Kubernetes Beta
PPTX
Interactive Mobile Applications in the Enterprise: Are You Ready?
PPTX
Khronos Overview Japan Virtual Open House Feb 2021
PDF
Cloud Native Java with Spring Cloud Services
Data Modernization for Spring-Based Microservices on Pivotal Platform
The Reality of DIY Kubernetes vs. PKS
AppTx: Transforming legacy apps at Northern Trust
Securing Pivotal Platform at Prime Therapeutics
Building Highly Scalable Spring Applications using In-Memory Data Grids
Accelerating the Consumption of APIs Built on Cloud Foundry
Spring Cloud Stream: What's New in 2.x—and What's Next?
A Case for Grails
P to V to C: The Value of Bringing “Everything” to Containers
riffing on Knative - Scott Andrews
A Tale of Transformation: Changing the Way We Deliver and Transform Product D...
Node.JS Vs PHP: Which Is The Top Server-Side Programming Language?
Spring Cloud in a Nutshell
Consumer Driven Contracts and Your Microservice Architecture
Cloud service api design rules presentation
A JBoss Enterprise Middleware Solution to Improving Business Execution
Building the Pivotal RabbitMQ for Kubernetes Beta
Interactive Mobile Applications in the Enterprise: Are You Ready?
Khronos Overview Japan Virtual Open House Feb 2021
Cloud Native Java with Spring Cloud Services
Ad

Similar to Simple Data Movement Patterns: Legacy Application to Cloud-Native Environment and Apache Geode (20)

PPTX
From Zero to Cloud using Spring with Cloud-Native Data Technologies - John Blum
PDF
Building a Data Exchange with Spring Cloud Data Flow
PPTX
High Performance Cloud Native APIs Using Apache Geode
PPTX
Migrating from Big Data Architecture to Spring Cloud
PDF
Cloud Native Batch Processing: Beyond the What and How
PPTX
Building Data Environments for Production Microservices with Geode
PDF
Modernizing Digital APIs Platform to Cloud-Native Microservices
PDF
Square Pegs, Square Holes: CI/CD That Fits
PPTX
Apache Geode: an efficient alternative to Kafka-Storm-Spark for Data Analytic
PDF
Running Data Platforms Like Products
PDF
Power of Google Cloud Platform with Spring Cloud GCP
PPTX
MediaMath - Big Data Warehousing Meetup - 2/16/2016
PPTX
The Evolution of Data Architecture
PDF
How to Migrate Applications Off a Mainframe
PDF
Extending the Platform
PPTX
Stephen Flaherty at SpringOne Platform 2019
PDF
Extending the Platform with Spring Boot and Cloud Foundry
PDF
Platforming the Major Analytic Use Cases for Modern Engineering
PDF
Big Data: Movement, Warehousing, & Virtualization
PDF
To Microservices and Beyond
From Zero to Cloud using Spring with Cloud-Native Data Technologies - John Blum
Building a Data Exchange with Spring Cloud Data Flow
High Performance Cloud Native APIs Using Apache Geode
Migrating from Big Data Architecture to Spring Cloud
Cloud Native Batch Processing: Beyond the What and How
Building Data Environments for Production Microservices with Geode
Modernizing Digital APIs Platform to Cloud-Native Microservices
Square Pegs, Square Holes: CI/CD That Fits
Apache Geode: an efficient alternative to Kafka-Storm-Spark for Data Analytic
Running Data Platforms Like Products
Power of Google Cloud Platform with Spring Cloud GCP
MediaMath - Big Data Warehousing Meetup - 2/16/2016
The Evolution of Data Architecture
How to Migrate Applications Off a Mainframe
Extending the Platform
Stephen Flaherty at SpringOne Platform 2019
Extending the Platform with Spring Boot and Cloud Foundry
Platforming the Major Analytic Use Cases for Modern Engineering
Big Data: Movement, Warehousing, & Virtualization
To Microservices and Beyond
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)

PDF
Approach and Philosophy of On baking technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPT
Teaching material agriculture food technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
cuic standard and advanced reporting.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Cloud computing and distributed systems.
Approach and Philosophy of On baking technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
NewMind AI Weekly Chronicles - August'25 Week I
Understanding_Digital_Forensics_Presentation.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
MYSQL Presentation for SQL database connectivity
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Spectroscopy.pptx food analysis technology
Per capita expenditure prediction using model stacking based on satellite ima...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Teaching material agriculture food technology
Unlocking AI with Model Context Protocol (MCP)
cuic standard and advanced reporting.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The AUB Centre for AI in Media Proposal.docx
Cloud computing and distributed systems.

Simple Data Movement Patterns: Legacy Application to Cloud-Native Environment and Apache Geode

  • 1. Simple Data Movement Patterns: Legacy Application to Cloud- Native Environment and Apache Geode October 7–10, 2019 Austin Convention Center
  • 2. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
  • 3. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Safe Harbor Statement The following is intended to outline the general direction of Pivotal's offerings. It is intended for information purposes only and may not be incorporated into any contract. Any information regarding pre-release of Pivotal offerings, future updates or other planned modifications is subject to ongoing evaluation by Pivotal and is subject to change. This information is provided without warranty or any kind, express or implied, and is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions regarding Pivotal's offerings. These purchasing decisions should only be based on features currently available. The development, release, and timing of any features or functionality described for Pivotal's offerings in this presentation remain at the sole discretion of Pivotal. Pivotal has no obligation to update forward looking information in this presentation.
  • 4. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ GeodeConf i g object object Legacy T he Cl o u d Cl o u d Cache ODS ACME Co r po r at i o n Case study: ACME Corp • Background • Pain
  • 5. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 5 Roadmap Considerations • Constraints and conditions surrounding migration pathways • Goals
  • 6. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ • There will be a continued use of legacy application data by back end systems • Some applications in cloud use cloud data • Some applications in cloud use legacy data • Some applications will use cloud and legacy • Data will have to move from legacy to cloud Constraints and conditions surrounding migration pathways 6
  • 7. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ • Optimally move all operational data to cloud • Minimally invasive on legacy domain code and data • Should be a transition period where data is pushed to cloud but will be shutoff when all cloud apps can operate independently - that should be configurable. Goals 7
  • 8. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Four Common Migration Patterns Business Value versus Technical Value
  • 9. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Point to Point Socket connection object object Legacy Legacy Dat abase T he Cl o u d Cl o u d Apps ODS
  • 10. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Claim Check Pattern object object Legacy Legacy Dat abase T he Cl o u d Cl o u d Apps PCC label
  • 11. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Tightly Coupled Message Bus object object Legacy Legacy Dat aba se T he Cl o u d Cl o u d Apps Message Bu s ODS
  • 12. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Loosely Coupled Message Bus object object Legacy Legacy Dat abase T he Cl o u d Cl o u d Apps So ur ce Message Bu s Si n k Upd at e API ODS
  • 13. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ DEMO Technology Stack for a Loosely Coupled Message Bus RabbitMQ Java Spring Boot Pivotal Cloud Cache Pivotal Platform
  • 14. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 1 4 THE CODE What you need to wire it all up
  • 15. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Loosely Coupled Message Bus GeodeConf i g object object Legacy Legacy Dat abase T he Cl o u d G eo d eCo n f i g LegacySi m Appl i cat i o n Upd at er API Appl i cat i o n PCC
  • 16. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 1 6 @EnableEntityDefinedRegions(basePackages="io.pivotal.s1p.model") @EnableGemfireRepositories @EnablePdx @EnableSecurity @Configuration public class GeodeConfig { } Geode (PCC) GeodeConf i g object object Legacy Legacy Dat abase T he Cl o u d G eo d eCo n f i g LegacySi m Appl i cat i o n Upd at er API Appl i cat i o n PCC
  • 17. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 1 7 @EnableBinding(Source.class) public class FileSourceConfiguration { @Autowired Source source; @InboundChannelAdapter(value = Source.OUTPUT) public Customer customerFileStreamSingleMessage() { CustomerParser parser = new CustomerParser(); List<Customer> customers = parser.buildCustomerList(new FileReader().readCustomers()); return customers; } } RMQ Source GeodeConf i g object object Legacy Legacy Dat abase T he Cl o u d G eo d eCo n f i g LegacySi m Appl i cat i o n Upd at er API Appl i cat i o n PCC
  • 18. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 1 8 @EnableBinding(Sink.class) public class UpdaterApiApplication { @Autowired UpdateCustomerService updateCustomerService; @StreamListener(Sink.INPUT) public void handle(Customer customer) { updateCustomerService.createCustomer(customer); } } RMQ Sink GeodeConf i g object object Legacy Legacy Dat abase T he Cl o u d G eo d eCo n f i g LegacySi m Appl i cat i o n Upd at er API Appl i cat i o n PCC
  • 19. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ THE DEMO
  • 20. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 2 0 GeodeConf i g object object Legacy Legacy Dat abase T he Cl o u d G eo d eCo n f i g LegacySi m Appl i cat i o n Upd at er API Appl i cat i o n PCC c1
  • 22. Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ QUESTIONS AND DISCUSSION