Questions Management – Support Discovery Server – Build Eureka Server using Spring Cloud Netflix

Check out the full series of Questions Management tutorial here.

After creating the support-discovery-server project, it’s time to use Spring Cloud Netflix to enable the Eureka Server for this Support Discovery Server.

As I have instructed you in the tutorial Learn about Eureka Server of Netflix OSS, what we need to do is:

Add the Spring Cloud Netflix @EnableEurekaServer annotation in the SupportDiscoveryServerApplication class:

Add to the application.properties file the following information:

In addition to the information needed to enable a Eureka Server, as you can see, I also named this service “Support Discovery Server”.

Now you can try to start this project and see the results.

Myself is as follows:

Questions Management - Support Discovery Server - Build Eureka Server using Spring Cloud Netflix

Questions Management – Support Discovery Server – Build Eureka Server using Spring Cloud Netflix
Đánh giá bài viết
Chia sẽ bài viết này ...Share on Facebook
Facebook
3Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin

Add Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.