Deprecate Apache Geode's embedded Redis service (server) configuration and support.

See #592.

Resolves #594.
This commit is contained in:
John Blum
2022-04-27 15:15:40 -07:00
parent 7b9aaa162f
commit 3810f53b93
2 changed files with 6 additions and 0 deletions

View File

@@ -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")

View File

@@ -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;