| 类 | 说明 |
|---|---|
| ApolloApplicationContextInitializer |
Initialize apollo system properties and inject the Apollo config in Spring Boot bootstrap phase
Configuration example:
# set app.id app.id = 100004458 # enable apollo bootstrap config and inject 'application' namespace in bootstrap phase apollo.bootstrap.enabled = true or# set app.id app.id = 100004458 # enable apollo bootstrap config apollo.bootstrap.enabled = true # will inject 'application' and 'FX.apollo' namespaces in bootstrap phase apollo.bootstrap.namespaces = application,FX.apollo If you want to load Apollo configurations even before Logging System Initialization Phase, add# set apollo.bootstrap.eagerLoad.enabled apollo.bootstrap.eagerLoad.enabled = true This would be very helpful when your logging configurations is set by Apollo. |
| ApolloAutoConfiguration |
Copyright © 2019 Ctrip, Inc.. All rights reserved.