Annotation Interface EnableRedisServer


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.
The EnableRedisServer annotation marks a Spring @Configuration annotated Class to embed the Redis service in this cluster member. The Redis service implements the Redis server protocol enabling Redis clients to connect to and inter-operate with Pivotal GemFire or Apache Geode. However, the embedded Pivotal GemFire/Apache Geode Redis Service can be enabled/disabled externally in application.properties by using the spring.data.gemfire.service.redis.enabled property even when this Annotation is present, thereby serving as a toggle.
Since:
1.9.0
Author:
John Blum
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated.
    Configures the Network bind-address on which the Redis server will accept connections.
    int
    Deprecated.
    Configures the Network port on which the Redis server will listen for Redis client connections.
  • Element Details

    • bindAddress

      String bindAddress
      Deprecated.
      Configures the Network bind-address on which the Redis server will accept connections. Defaults to localhost. Use the spring.data.gemfire.service.redis.bind-address property in application.properties.
      Default:
      ""
    • port

      int port
      Deprecated.
      Configures the Network port on which the Redis server will listen for Redis client connections. Defaults to 6379. Use the spring.data.gemfire.service.redis.port property in application.properties.
      Default:
      6379