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
1
vote
1 answer

SpringData Gemfire inserting fake date on Dev env

I am developing some app using Gemfire and it would be great to be able to provide some fake data while in Dev environment. So instead of doing it in the code like I do today, I was thinking about using spring application-context.xml do pre-load…
Cristiano Fontes
  • 4,920
  • 6
  • 43
  • 76
1
vote
1 answer

Gemfire Subscription does not work on distributed environment

I setup a cluster Gemfire environment with 2 locators and 3 nodes. I would like to use it as a publisher/subscription solution. I create a cache-listener in the Java application and it works well(logging) when I insert an item into a region.…
Napo
  • 263
  • 4
  • 14
1
vote
2 answers

Spring integration outbound channel for Gemfire to store payload

I am trying to send payload over to gemfire cache. I receive this payload as a MQ Message. It works fine if my outbound adapter is another Queue. However when the outbound channel is outbound adapter for Gemfire it throws exception. Below is the…
1
vote
2 answers

How to access a Gemfire object access by a sub-objects unique value or set of values

I have query which looks like this and does not work as expected. I have tried quite a few different variations, but I am missing something with the query. Repository Code: @Query("SELECT c FROM /customer c, c.emailAddresses email WHERE…
1
vote
2 answers

How to access a Gemfire object access by a sub-objects unique value or set of values?

I have a situation where I am storing a complex object in Gemfire. For simplicity it is a customer object who has several attributes. We also store a List of email address objects (not just email strings), addresses, phone numbers, and references to…
fpmoles
  • 1,209
  • 8
  • 14
1
vote
1 answer

Why spring-data-gemfire reposories do not use putAll?

I noticed that spring-data-gemfire repositories are extremely slow in client-server architecture when it comes to uploading a big data set into gemfire cache. I checked the sources and I see that save(Iterable entities) just iterates through all…
Dmitry Trofimov
  • 503
  • 4
  • 10
1
vote
1 answer

What are the differences between GemfireRepository and CrudRepository in spring data gemfire

GemfireRepository is a gemfire specific implementation of CrudRepository but the spring data gemfire reference guide says if we use GemfireRepository then we need to have our domain classes correctly mapped to configured regions as the bottstrap…
Arghya Sadhu
  • 41,002
  • 9
  • 78
  • 107
1
vote
1 answer

Spring Data Gemfire store java.lang.Class field

In my code I have a generic "Value" POJO, which contains value itself and it's class: public class Value implements Serializable { private T value; private Class type; ... } I am using Spring Data GemFire…
madhead
  • 31,729
  • 16
  • 153
  • 201
1
vote
1 answer

Multiple cache creations in Gemfire

I'm trying to create a local-cache and a client-cache inside one JVM, however i get the error stated below which i think is occuring due to cache being singleton and you can only create one per JVM. Does anybody know a good work around? Error: Error…
YK-47
  • 198
  • 3
  • 18
1
vote
1 answer

Gemfire Local Caching Expiration

I have a JAR that embedded within a webservice that has local Gemfire Caching. The problem that I am trying to solve is expiration of this data. I have created a custom expiration timer that will set each entries expiration in seconds and have tied…
mstelz
  • 610
  • 4
  • 9
  • 19
1
vote
1 answer

Gemfire configuration issues

I have an xml config file for setting up gemfire as below
iuser
  • 209
  • 1
  • 6
  • 18
0
votes
0 answers

How to do SubString in gemfire Query?

I've a Gemfire region Name account, in the Account region, we've accountId field. What I want is to print only last two digits where its value is greater than 50.
Jeff Cook
  • 7,956
  • 36
  • 115
  • 186
0
votes
0 answers

Using @Region with conditionals

I’m creating a gemfire region using spring data geode. I have used the @Region annotation on my entity class. I need to create this region based on a property from my application properties file. Is there a way to achieve this ? I tried to use…
Nina
  • 1
  • 1
0
votes
0 answers

How to specify groups while creating a region using spring data geode?

Apache geode regions can be created on members from a specific groups as per their documentation: https://geode.apache.org/docs/guide/114/tools_modules/gfsh/command-pages/create.html#topic_54B0985FEC5241CA9D26B0CE0A5EA863 How can we achieve the same…