Tagged “Configuration”
3 articles with this tag.
- Centralized configurationManaging configuration across many services: why centralise, Spring Cloud Config Server and client, Git, Vault and other backends, file layout per application and profile, spring.config.import, encryption and secrets, refreshing with @RefreshScope and Spring Cloud Bus, high availability, and alternatives (Kubernetes ConfigMaps, Consul, cloud configuration services, feature-flag platforms).
- Externalized configurationRunning one build in every environment: property sources and their precedence, application.yml and profile-specific files, environment variables and relaxed binding, config import (config trees, Kubernetes ConfigMaps and Secrets, Vault), type-safe @ConfigurationProperties with records and validation, @Value vs @ConfigurationProperties, secrets handling and refreshing configuration.
- Configuration & scanningDefining beans in Spring: stereotype annotations and component scanning, @Configuration and @Bean methods, full vs lite mode and proxyBeanMethods, @Import, profiles and @Profile, programmatic registration with BeanRegistrar (Spring 7), and how to organise configuration in large applications.