From b57e66fbe57c8210ca74cfa5ad7b53871be2590b Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 25 Aug 2017 16:20:50 +0200 Subject: [PATCH] Add deprecated metadata for Redis pool See gh-10076 --- ...itional-spring-configuration-metadata.json | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index cce53eb73345..481875972b3c 100644 --- a/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -876,6 +876,46 @@ "level": "error" } }, + { + "name": "spring.redis.pool.max-active", + "type": "java.lang.Integer", + "description": "Max number of connections that can be allocated by the pool at a given time.\n Use a negative value for no limit.", + "defaultValue": 8, + "deprecation": { + "replacement": "spring.redis.jedis.pool.max-idle", + "level": "error" + } + }, + { + "name": "spring.redis.pool.max-idle", + "type": "java.lang.Integer", + "description": "Max number of \"idle\" connections in the pool. Use a negative value to indicate\n an unlimited number of idle connections.", + "defaultValue": 8, + "deprecation": { + "replacement": "spring.redis.jedis.pool.max-idle", + "level": "error" + } + }, + { + "name": "spring.redis.pool.max-wait", + "type": "java.lang.Integer", + "description": "Maximum amount of time (in milliseconds) a connection allocation should block\n before throwing an exception when the pool is exhausted. Use a negative value\n to block indefinitely.", + "defaultValue": -1, + "deprecation": { + "replacement": "spring.redis.jedis.pool.max-wait", + "level": "error" + } + }, + { + "name": "spring.redis.pool.min-idle", + "type": "java.lang.Integer", + "description": "Target for the minimum number of idle connections to maintain in the pool. This\n setting only has an effect if it is positive.", + "defaultValue": 0, + "deprecation": { + "replacement": "spring.redis.jedis.pool.min-idle", + "level": "error" + } + }, { "name": "spring.session.jdbc.initializer.enabled", "type": "java.lang.Boolean",