A

Arogya • 3.19K Points
Extraordinary

Q. Which annotation enables a Spring Boot application to act as a Config Client?

  • (A) @EnableDiscoveryClient
  • (B) @EnableConfigClient
  • (C) @RefreshScope
  • (D) No annotation required (just dependency and bootstrap configuration)
  • Correct Answer - Option(D)
  • Views: 1
  • Filed under category Spring Cloud
  • Hashtags:

Explanation by: Arogya
Modern Spring Cloud does not require @EnableConfigClient; adding the dependency and configuration is sufficient.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.