quarkus-vault
quarkus-vault copied to clipboard
First time fetch in Vault Config Source done multiple times
This is related to this:
if (firstTime) {
log.debug("fetch secrets first time with attempts = " + vaultRuntimeConfig.mpConfigInitialAttempts());
fetchSecretsFirstTime(properties);
firstTime = false;
If there is a failure, firstTime
is still true, and next attempt will be done as if this was the first time.
As a result, the application repeats multiple times, several load attempts, delaying the eventual failure of application startup.