Microservice Resiliency

Java/Spring Edition

Jeff Butler

https://github.com/jeffgbutler/microservice-workshop-java/

https://jeffgbutler.github.io/microservice-workshop-java/

About Me

  • Platform Architect for Pivotal Software in Indianapolis
  • Committer to iBatis/MyBatis since 2005
  • Creator of MyBatis Generator and MyBatis Dynamic SQL

Plan for the Workshop

We will use Spring Boot for every example and exercise. Major topics include:

  • Building Basic Web Services
  • Building Web Service Clients with Feign
  • Using Eureka for Service Discovery
  • Using Hystrix for Circuit Breakers

Most of these tools are originally from Netflix OSS and have been integrated into Spring.

Caveats

  • This workshop is focused on learning some fundamental tools and patterns
  • This workshop is not focused on architecture for your particular problem space.
  • Most of the things we learn will be only one of many different ways to accomplish a task. I will mention alternatives along the way, but will only focus on a few techniques.
  • There will be coding!

The Big Picture

The Big Picture

Next Steps

  • Overview of the source repo
  • Setup Exercise: Make sure you can run a web service in whatever IDE you choose