Questions tagged [spring-data-gemfire]

Spring Data GemFire focuses on integrating Spring Framework's powerful, non-invasive programming model and concepts with Pivotal GemFire, simplifying configuration, development and providing high-level abstractions.

Pivotal GemFire is a real-time, in-memory distributed data management platform providing data-intensive applications built for a cloud architecture with enterprise-class features, such as redundancy and high-availability with linear scale-out.

To learn more about Pivotal GemFire, see here.

Spring Data GemFire focuses on integrating Spring Framework's powerful, non-invasive programming model and concepts with Pivotal GemFire to simplify the configuration and development of GemFire-based applications as well as to provide high-level abstractions for many of GemFire's core components.

To get up-to-date information on Spring Data GemFire, visit the project page, on spring.io or see the project's status in JIRA. You can also checkout the source on GitHub and even fork the project in order to submit Pull Requests (PR) if you have have an idea for a new feature or how to make it better. We encourage the community to get involved.

Finally, there is no better place to stay informed or to be involved than by following us in the Spring IO Blog. Every week, Josh Long publishes an fantastic article on "This Week in Spring" loaded with all things related to Spring.

296 questions
0
votes
2 answers

Going through Spring Test Data Geode but @EnableGemFireMockObjects annotation is not found

I spent a long time trying to run the example tests from here and here. The @EnableGemFireMockObjects annotation cannot be found and neither can import org.springframework.data.gemfire.tests.mock.annotation.EnableGemFireMockObjects; The example…
rupweb
  • 3,052
  • 1
  • 30
  • 57
0
votes
1 answer

java connection refused error with spring boot data geode remote locator

Per my question Apache Geode Web framework I've checked through various spring guides from here and spring data geode samples from here and written a short spring data geode application but it cannot connect to the remote GFSH started Geode locator.…
rupweb
  • 3,052
  • 1
  • 30
  • 57
0
votes
1 answer

Gemfire cache throwing PartionedRegionException: Object hashCode inconsistent between peers

When using partitioned caching in gemfire and integrating with spring data using cacheable annotation, it puts the data in cache properly but when retrieving from cache, if the key is on a different partition it is throwing PartionedRegionException…
Varun Ramani
  • 1,389
  • 1
  • 10
  • 14
0
votes
2 answers

Configuration or link required to connect cluster of Pivotal Coud Cache in Spring boot microservices

I am setting up the Spring-boot microservices with the cluster bi-direction Pivotal cloud cache. I have set up the bi-directional cluster in Pivotal Cloud, I have a list of locators with ports. I have already some online docs.…
0
votes
1 answer

No lucene documents created when serializer added

I created lucene index in gfsh using the following command create lucene index --name=myLucIndex --region=myRegion --field=title --analyzer=org.apache.lucene.analysis.en.EnglishAnalyzer --serializer=a.b.c.MyLatLongSerializer My serializer is as…
0
votes
1 answer

Even after setting batchsize, AEQ process events method triggering for every call

I have configured batch size in AsyncEventQueueFactory. But when I update region data, processEvents() is called every time. I want to update db after some set of time interval. Am I missing any thing here or still I need to do any…
Bobby
  • 37
  • 5
0
votes
1 answer

java.lang.NullPointerException: When saving jpa data using Gemfire cachewriter

Jpa Repository save is working in all classes. But when trying to save in CacheWriter it is throwing NullPointerException(personRepository.save(entryEvent.getNewValue())). Any idea on this? Configured mysql database in application…
Bobby
  • 37
  • 5
0
votes
2 answers

Changing the GemFire query ResultSender batch size

I am experiencing a performance issue related to the default batch size of the query ResultSender using client/server config. I believe the default value is 100. If I run a simple query to get keys (with some order by columns due to the PARTITION…
Yu Wang
  • 11
  • 1
0
votes
1 answer

SelectResults query in Unit Tests

I need to assign values to SelectResults and use this for JUnit purposes. I could assign StructImpl values but could not do it for SelectResults. String[] FieldNames; Object[] FieldValues; StructImpl s1; List structImplList = new…
user1479469
  • 45
  • 3
  • 9
0
votes
1 answer

Gemfire ClusterConfigurationNotAvailableException: Unable to retrieve cluster configuration from the locator

Gemfire cluster suddenly goes down because of ClusterConfigurationNotAvailableException: Unable to retrieve cluster configuration from the locator We have a 2 locator and 2 server Gemfire cluster. We bootstrap Gemfire cache server using cache.xml…
Sudharsan
  • 207
  • 1
  • 2
  • 12
0
votes
1 answer

Pivotal Gemfire gfsh Locator could not find a JMX Manager

The geode locator and server are started by the embedded spring data geode running within a spring boot application Trying to connect with gfsh: gfsh>connect Connecting to Locator at [host=localhost, port=10334] .. Locator could not find a JMX…
ACV
  • 9,964
  • 5
  • 76
  • 81
0
votes
2 answers

Is there any way in spring-data-gemfire to set the TTL for every entry when I put an object(entry) in cache?

I want to set TTL for every object in GemFire cache whenever I am putting that object into the cache. The TTL for an entry(object) in the cache can be different from another. Is it possible to do using Spring Data for Pivotal GemFire?
Sunil Keshari
  • 99
  • 1
  • 2
  • 11
0
votes
1 answer

Spring Data GemFire DiskStore

I need to persist the data in a Region to disk using Spring Data GemFire. Using the config below (Locator and Server are started using Gfsh): @EnablePdx @ClientCacheApplication @EnableDiskStore(name =…
0
votes
1 answer

Connecting to a running Gemfire server

Using gfsh I have started a locator on my PC. How do I connect to this locator using spring-data-gemfire. Here is the my locator gfsh>start locator --name=locator1 Locator in /Users/adas/locator1 on 10.1.51.200[10334] as locator1 is currently…
bostonjava
  • 624
  • 1
  • 9
  • 20
0
votes
2 answers

Pivotal GemFire 9.1.1: Replicated Region not created in cluster

I have a GemFire cluster with 2 Locators and 2 Servers in two unix machines. I am running a Spring Boot app which joins the GemFire cluster as a peer and tries to create Replicated Regions, loading the Regions using Spring Data GemFire. Once the…
Sudharsan
  • 207
  • 1
  • 2
  • 12