Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EnableClusterConfiguration annotation attributes are silently ignored [DATAGEODE-51] #102

spring-projects-issues opened this issue Oct 17, 2017 · 0 comments
in: configuration type: bug


Copy link

@spring-projects-issues spring-projects-issues commented Oct 17, 2017

John Blum opened DATAGEODE-51 and commented

All @EnableClusterConfiguration annotation attributes are ignored by SDG when configured by the user and their settings have no effect on the application.

This is easy enough to workaround by setting the corresponding configuration property.

For example, if a user wanted to push the Cluster Configuration from his/her Spring Boot, Apache Geode client cache application to a Geode cluster using HTTP, the user would do the following:

@EnableClusterConfiguration(useHttp = true)
class MySpringBootGeodeCacheClientApplication {

NOTE: the default value for the useHttp attribute is false.

However, the value of useHttp when set using the annotation attribute is ignored by SDG. So the user must set the corresponding configuration property instead, in the Spring Boot file as so...

Using the corresponding configuration property works around the bug

Affects: 2.0 GA (Kay)

Backported to: 2.0.1 (Kay SR1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
in: configuration type: bug
None yet

No branches or pull requests

2 participants