appconfig as configuration center

0

I have now obtained the configuration file in my AppConfig through the AppConfig client. Now I want to delete the local application.yml file and use the bootstrap.yml file to start, so that my springboot project can use AppConfig as my remote configuration. Center, how should I configure my bootstrap.yml, do I need to add any annotations in Application.java 在此处输入图片描述

gefragt vor einem Jahr92 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen