Spring Cloud Function: Write Once, Run Anywhere (For Real!)

50 %
50 %
Information about Spring Cloud Function: Write Once, Run Anywhere (For Real!)

Published on October 18, 2019

Author: SpringCentral

Source: slideshare.net

1. Spring Cloud Function Write once run anywhere Oleg Zhurakousky @z_oleg 1

2. Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Cloud Function 2 • Why functions and why Spring Cloud Function? • What is Spring Cloud Function? • How do we use Spring Cloud Function?

3. Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Why functions? 3 • Simplicity yet the power of the three core strategies • Supplier<O> • Function<I, O> • Consumer<I> What requirement can NOT be expressed with functions?

4. Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Cloud Function 4 Why Spring Cloud Function?

5. Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What is Spring Cloud Function? 5 • Promotes implementation of business logic as functions • Supplier, • Function, • Consumer • Uniformed programming model • Transparent type conversion • Function Composition

6. Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What is Spring Cloud Function? (cont…) 6 • POJO functions (if it looks/smells like a function it must be a function) • Reactive support • Arity - functions with multiple inputs/outputs • Deployment of packaged functions (JARs or exploded archives) • Boot configuration • Simple Spring configurations • Simple non-Spring packages • Integration with serverless platforms • AWS • Azure All within spring-boot scope and features

7. Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What is Spring Cloud Function? (cont…) 7 • Function Catalog • Acts as a function registry • Wraps functions to add additional features • Composition • Type conversion • Function Registration • Encapsulates required information about functions • Input/Output types • Used for manual function registration

8. Demo

9. Unless otherwise indicated, these slides are © 2013-2017 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Summary 9

10. Learn More. Stay Connected. Thank you! @z_oleg 10 #springone@s1p

Add a comment