Annotation Interface EnableClusterConfiguration


The EnableClusterConfiguration annotation enables Apache Geode / Pivotal GemFire schema object definitions defined in a Spring [Boot], Apache Geode / Pivotal GemFire ClientCache application using Spring config to be pushed to an Apache Geode / Pivotal GemFire cluster, similar to how schema commands (e.g. `create region`) in Gfsh are processed by an Apache Geode / Pivotal GemFire Manager.
Since:
2.0.0
Author:
John Blum
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Configures whether to enable ClientHttpRequestInterceptor bean lookup.
    boolean
    Configures whether to follow HTTP redirects when using HTTP.
    Configures the bind address used by the Spring, GemFire/Geode cache client application to locate the Manager's HTTP Service and access the Management REST API.
    int
    Configures the port used by the Spring, GemFire/Geode cache client application to locate the Manager's HTTP Service and access the Management REST API.
    boolean
    Configures whether the HTTP connection between Spring and Apache Geode or Pivotal GemFire should be secure.
    Configuration setting used to specify the data management policy used when creating Regions on the servers in the Geode/GemFire cluster.
    boolean
    Configures whether connectivity between the Spring, GemFire/Geode application should be established using HTTP.
  • Element Details

    • host

      String host
      Configures the bind address used by the Spring, GemFire/Geode cache client application to locate the Manager's HTTP Service and access the Management REST API. This configuration setting is only used when useHttp() is set to true. Alternatively, you can configure this setting using the spring.data.gemfire.management.http.host property in application.properties. Defaults to localhost.
      Default:
      "localhost"
    • port

      int port
      Configures the port used by the Spring, GemFire/Geode cache client application to locate the Manager's HTTP Service and access the Management REST API. This configuration setting is only used when useHttp() is set to true. Alternatively, you can configure this setting using the spring.data.gemfire.management.http.port property in application.properties. Defaults to 7070.
      Default:
      7070
    • enableInterceptors

      boolean enableInterceptors
      Configures whether to enable ClientHttpRequestInterceptor bean lookup. If ClientHttpRequestInterceptor beans are found in the Spring context, then they will be added to the Interceptors on the RestTemplate when using HTTP. Alternatively, you can configure this setting using the spring.data.gemfire.management.http.enable-interceptors property in application.properties. Defaults to false.
      Default:
      false
    • followRedirects

      boolean followRedirects
      Configures whether to follow HTTP redirects when using HTTP. Alternatively, you can configure this setting using the spring.data.gemfire.management.http.follow-redirects property in application.properties. Defaults to false.
      Default:
      false
    • requireHttps

      boolean requireHttps
      Configures whether the HTTP connection between Spring and Apache Geode or Pivotal GemFire should be secure. That is, whether the HTTP connections uses TLS and results in a secure HTTPS connection rather a plain text HTTP connection. Alternatively, you can configure this setting using the spring.data.gemfire.management.require-https property in application.properties. Defaults to true.
      Default:
      true
    • serverRegionShortcut

      RegionShortcut serverRegionShortcut
      Configuration setting used to specify the data management policy used when creating Regions on the servers in the Geode/GemFire cluster. The data management policy is expressed with a RegionShortcut, but corresponds to the various different DataPolicies available. Alternatively, you can configure this setting using the spring.data.gemfire.cluster.region.type property in application.properties. Defaults to RegionShortcut.PARTITION.
      Default:
      PARTITION
    • useHttp

      boolean useHttp
      Configures whether connectivity between the Spring, GemFire/Geode application should be established using HTTP. Alternatively, you can configure this setting using the spring.data.gemfire.management.use-http property in application.properties. Defaults to false.
      Default:
      false