Step up your microservices architecture with Netflix Eureka

Image for post
Image for post
Netflix Eureka

Introduction

Service Discovery Architecture

Workflow

Image for post
Image for post
Service Registration
Image for post
Image for post
Healthcheck

Client-side Load Balancing

Building your Spring Eureka Service

Image for post
Image for post
pom.xml dependency
Image for post
Image for post
eureka application.yml
Image for post
Image for post
EurekaApplication.java
Image for post
Image for post

Building a client service module

Image for post
Image for post
clientA pom.xml
Image for post
Image for post
Client application.yml
Image for post
Image for post
bootstrap.yml
Image for post
Image for post
client service eureka entry
Image for post
Image for post
Second service up and running
Image for post
Image for post
Client service bootstrap class
Image for post
Image for post
Address service class created at our client service module, this service interacts over the address service module
Image for post
Image for post
Client service class that invokes the address service class
Image for post
Image for post
Postman example request

Conclusion

As a software engineer, creating good and reliable solutions is my everyday goal. Within my articles, I try to express all the excitement and passion around it!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store