diff --git a/spring-data-geode/src/main/java/org/springframework/data/gemfire/config/annotation/EnableRedisServer.java b/spring-data-geode/src/main/java/org/springframework/data/gemfire/config/annotation/EnableRedisServer.java index bcc86683..a957c63d 100644 --- a/spring-data-geode/src/main/java/org/springframework/data/gemfire/config/annotation/EnableRedisServer.java +++ b/spring-data-geode/src/main/java/org/springframework/data/gemfire/config/annotation/EnableRedisServer.java @@ -44,11 +44,14 @@ import org.springframework.context.annotation.Import; * @see org.springframework.context.annotation.Import * @see org.springframework.data.gemfire.config.annotation.MemcachedServerConfiguration * @since 1.9.0 + * @deprecated Support for the Redis Server protocol in Apache Geode to service Redis clients is targeted + * to be removed in the Apache Geode project as of Apache Geode 1.15. */ @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited +@Deprecated @Import(RedisServerConfiguration.class) @UsesGemFireProperties @SuppressWarnings("unused") diff --git a/spring-data-geode/src/main/java/org/springframework/data/gemfire/config/annotation/RedisServerConfiguration.java b/spring-data-geode/src/main/java/org/springframework/data/gemfire/config/annotation/RedisServerConfiguration.java index fddce9d5..5649416f 100644 --- a/spring-data-geode/src/main/java/org/springframework/data/gemfire/config/annotation/RedisServerConfiguration.java +++ b/spring-data-geode/src/main/java/org/springframework/data/gemfire/config/annotation/RedisServerConfiguration.java @@ -35,7 +35,10 @@ import org.springframework.data.gemfire.util.PropertiesBuilder; * @see org.springframework.data.gemfire.config.annotation.EnableRedisServer * @see org.springframework.data.gemfire.config.annotation.support.EmbeddedServiceConfigurationSupport * @since 1.9.0 + * @deprecated Support for the Redis Server protocol in Apache Geode to service Redis clients is targeted + * to be removed in the Apache Geode project as of Apache Geode 1.15. */ +@Deprecated public class RedisServerConfiguration extends EmbeddedServiceConfigurationSupport { protected static final int DEFAULT_REDIS_PORT = 6379;