Application Yml Articles
2 articles about Application Yml. Explore Spring Boot implementation, design, and operations across related topics.
-
How to Correctly Configure and Tune HikariCP Connection Pool in Spring Boot
Explains the default values and production-recommended values for HikariCP's main parameters (maximumPoolSize, connectionTimeout, maxLifetime, keepaliveTime), along with the official pool sizing formula and application.yml implementation examples. Also covers how to diagnose the causes of Connection is not available errors and how to detect connection leaks using leakDetectionThreshold.
-
How to Encrypt Sensitive Information in Configuration Files Using Jasypt with Spring Boot
If you're concerned about storing database passwords and API keys in plain text in application.yml, Jasypt is an easy solution. This guide covers the full implementation process for production use, from encryption steps using the ENC() wrapper to integration with environment variables and CI.