Running Spring Boot Java application as a Microservice in Service Fabric

Spring Boot Framework is one of the popular frameworks to author RESTful APIs using Java. It is very commonly used alongwith Angular and Kafka to create distributed applications.  In this series of posts, I'll cover how a Spring Boot application can be deployed and run as a microservice using Azure Service Fabric. Below is table of content for each post and what it covers.

  1. Part 1: Creating a Spring Boot application and getting it to run locally.
  2. Part 2: Getting this application deployed and running in local Service Fabric cluster.
  3. Part 3: Deploying this application to Azure Service Fabric cluster using CI/CD pipeline defined in VSTS.
  4. Part 4: Containerizing this application and getting it running as a container in Azure Service Fabric.

Source code for application is available at following GitHub locations.

  1. Spring Boot Application (Maven)
  2. Spring Boot Application (Service Fabric)