Comments on: Part 1: Creating microservice using Spring Cloud, Eureka and Zuul https://piotrminkowski.com/2017/02/05/part-1-creating-microservice-using-spring-cloud-eureka-and-zuul/ Java, Spring, Kotlin, microservices, Kubernetes, containers Fri, 04 Jun 2021 09:47:50 +0000 hourly 1 https://wordpress.org/?v=6.9.1 By: shoyrasharma https://piotrminkowski.com/2017/02/05/part-1-creating-microservice-using-spring-cloud-eureka-and-zuul/#comment-1149 Fri, 04 Jun 2021 09:47:50 +0000 https://piotrminkowski.wordpress.com/?p=166#comment-1149 What are the Top best Tools for Monitoring Microservices?
https://www.decipherzone.com/blog-detail/top-best-tools-monitoring-microservices
Monitoring systems become a critical thing for having a robust system running in production. But moving to microservices can break the monitoring strategy as traditional methods alone cannot connect performance and dependencies across the distributed architecture. It also leads to an increase in your mean time to resolution (MTTR).

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2017/02/05/part-1-creating-microservice-using-spring-cloud-eureka-and-zuul/#comment-79 Mon, 27 Aug 2018 10:50:25 +0000 https://piotrminkowski.wordpress.com/?p=166#comment-79 In reply to manasamittal94.

Thanks 🙂

]]>
By: manasamittal94 https://piotrminkowski.com/2017/02/05/part-1-creating-microservice-using-spring-cloud-eureka-and-zuul/#comment-78 Mon, 27 Aug 2018 10:47:23 +0000 https://piotrminkowski.wordpress.com/?p=166#comment-78 Good post..Keep on sharing..

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2017/02/05/part-1-creating-microservice-using-spring-cloud-eureka-and-zuul/#comment-77 Sat, 11 Aug 2018 21:31:55 +0000 https://piotrminkowski.wordpress.com/?p=166#comment-77 In reply to Sathish.

Hi,
Well you can create different spring profiles with different ports or set port to 0, what means that it would be automatically random during boot.

]]>
By: Sathish https://piotrminkowski.com/2017/02/05/part-1-creating-microservice-using-spring-cloud-eureka-and-zuul/#comment-76 Sat, 11 Aug 2018 15:42:51 +0000 https://piotrminkowski.wordpress.com/?p=166#comment-76 Hi Piotr,
Can we configure multiple instance with different ports like 2221,2222,2223 for single service in application.yml apart from using -DPORT option?

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2017/02/05/part-1-creating-microservice-using-spring-cloud-eureka-and-zuul/#comment-75 Wed, 25 Jul 2018 15:04:14 +0000 https://piotrminkowski.wordpress.com/?p=166#comment-75 In reply to Deepak.

Hi Deepak,
There are many patters. For example service discovery, distributed configuration, API gateway.

]]>
By: Deepak https://piotrminkowski.com/2017/02/05/part-1-creating-microservice-using-spring-cloud-eureka-and-zuul/#comment-74 Wed, 25 Jul 2018 12:22:38 +0000 https://piotrminkowski.wordpress.com/?p=166#comment-74 Hi Piotr, I am new to microservices Could you please help me with this question – what design pattern the microservices is based upon?

Regards

]]>
By: ManiKanta Kandagatla https://piotrminkowski.com/2017/02/05/part-1-creating-microservice-using-spring-cloud-eureka-and-zuul/#comment-73 Thu, 17 May 2018 20:24:28 +0000 https://piotrminkowski.wordpress.com/?p=166#comment-73 In reply to ManiKanta Kandagatla.

Sorry for the inconvenience. I have imported the projects as Maven projects and it solved the issues

]]>
By: ManiKanta Kandagatla https://piotrminkowski.com/2017/02/05/part-1-creating-microservice-using-spring-cloud-eureka-and-zuul/#comment-72 Thu, 17 May 2018 20:17:11 +0000 https://piotrminkowski.wordpress.com/?p=166#comment-72 Thanks for a quick response.
I have one more question, I am importing the git project into Spring tool suite but unable to resolve import errors. I have googled it and most of the answers are saying to use
org.springframework.boot
spring-boot-starter-parent
2.0.2.RELEASE

in pom.xml. But when i am doing it, the whole dependency tree is broken. Could you please tell me how to configure your code in STS. Right now i am building and running the complete codebase through maven commandline.

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2017/02/05/part-1-creating-microservice-using-spring-cloud-eureka-and-zuul/#comment-71 Wed, 16 May 2018 21:02:59 +0000 https://piotrminkowski.wordpress.com/?p=166#comment-71 In reply to ManiKanta Kandagatla.

Hi,
Spring Cloud does not provide autoscaling mechanisms out-of-the-box. You would have to use some cloud providers like Pivotal’s Cloud Foundry or HashiCorp’s Nomad, and deploy your microservice there. If only one instance of service is launched the 100% traffic goes to that instance 🙂

]]>