Comments (7)
Thanks John, for the quick response!
We are planning to automate the creation of region, using Spring Annotation API's. Can you please recommend some other alternative, for the current version?
from spring-boot-data-geode.
This is because the current version of PCC does not support SDG @EnableClusterConfiguration
push functionality just yet.
The Pivotal GemFire team broke the underlying API on which SDG's @EnableClusterConfiguration
feature is based.
As you can see from the GEODE ticket, the underlying Apache Geode API was restored in version 1.5.0. Apache Geode 1.5.0 corresponds to Pivotal GemFire 9.4. PCC currently is based on Pivotal GemFire 9.3. Therefore, PCC must be upgraded to Pivotal GemFire 9.4+ in order for the SD Cluster Configuration push functionality to be useable.
from spring-boot-data-geode.
Note, you can try this with a standalone installation by starting some GemFire/Geode servers using Gfsh and then connecting a Spring (Boot) Data Geode/GemFire cache client application annotated with @EnableClusterConfiguration
. You will see that the Regions (and optionally, Indexes) are pushed to the servers. You must be running Apache Geode 1.5.0 or later and/or Pivotal GemFire 9.4 or later.
from spring-boot-data-geode.
Hi John,
I am using GemFire 9.1.1, through Pivotal Cloud Cache 1.3.1 and ran into below error -
strong text2018-11-17T16:30:35.279-05:00 [APP/PROC/WEB/0] [OUT] org.springframework.context.ApplicationContextException: Failed to start bean 'gemfireClusterSchemaObjectInitializer'; nested exception is org.apache.geode.cache.client.ServerOperationException: remote server on ac62ca98-0ec5-4a30-606b-1cc9(:8:loner):47710:a6159523:: The function is not registered for function id CreateRegionFunction 2018-11-17T16:30:35.279-05:00 [APP/PROC/WEB/0] [OUT] at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:184)
Finally I ran into this post - #15
Is there any other annotation I can use with Spring Boot 2+ which can help me with GemFire Region creation, dynamically?
Thanks!
from spring-boot-data-geode.
Hi @ranishwetha - Unfortunately, when using PCC 1.3.1 (or even PCC 1.4 or earlier), there is no workaround given my earlier comment above.
We are currently looking into making this work smoothly for the current version of PCC, 1.5. Presently, there is an HTTP authentication error on the client when pushing the cluster configuration (e.g. Region definitions, etc). As you may already be aware, the cluster config is pushed from the client to the server using the embedded Management REST API, which is served from GemFire/Geode using an embedded HTTP server (currently, Jetty). This HTTP client connect used to push the config will also need to authenticate.
See GH Issue #16.
Also, would it be possible for you to upgrade to PCC 1.5? I am very sorry you hit this problem.
I will report back when I have resolution on Issue #16.
Regards,
@jxblum
from spring-boot-data-geode.
There is no other Spring Annotation or API to help in this case.
Unfortunately, the only option would be to create a Gfsh shell script and run that, manually. Equally unfortunate, is anytime you add an additional client Region, you have to remember to update your shell script to create that Region on the server.
I will think on this more and get back to you.
from spring-boot-data-geode.
Great! Thanks John!
from spring-boot-data-geode.
Related Issues (20)
- Create a spring-cloud-bindings BindingsPropertiesProcessor for Apache Geode HOT 2
- State project goals in documentation
- Include chapter on Testing in the SBDG reference documentation
- Compatability matrix is not up to date. HOT 1
- Remove link to SDG Version Compatibility Matrix in SBDG Wiki
- Missing geode-pulse Dependency in Documentation
- Compatibility question HOT 3
- Using a sealed class as a data object fails HOT 1
- Inheriting from entity types causes failure when using entity-defined Regions HOT 1
- Exception thrown when parsing spring.session.timeout property with java.time.Duration styling HOT 1
- Improve documentation around overriding dependency versions
- Clarify the use of SDG's @EnableExpiration annotation in docs
- Integrate Apache Geode and Jetty 11 HOT 1
- Improve Logging configuration in the Starter
- @LocatorApplication does not work with @EnableSecurity HOT 5
- PARTITION_PERSISTENT_OVERFLOW index slow HOT 6
- SBDG Fails in Docker HOT 10
- Gemfire Fails in AWS ECS HOT 8
- Add new BeanPostProcessor to register RegionConfigurers for explicitly declared Region beans
- Improve logging output for @EnableClusterAware functionality re:connection type HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-boot-data-geode.