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
2 answers

Automate testing of caching functionality in a Spring Boot application

I am wondering about how can we testing automate functionality. I am working on a Spring Boot micro-service where we use a GemFire cache. Right now I am testing it manually for below scenarios: Is the data purged correctly after TTL is…
1
vote
1 answer

@LocatorApplication starts and then immediately stops

Everything seems to be created fine but once it finishes initializing everything it just stops. @SpringBootApplication @LocatorApplication public class ServerApplication { public static void main(String[] args) { …
1
vote
2 answers

Geode/GemFire Cannot create gemfireCache bean error: Spring Boot v2.1.3 - GemFire starter 1.1.0.RELEASE

I'm currently using Springboot v.2.1.3 to connect to PCC w/ gemfire v9.6.1. Based on the SBDG compatibility matrix, I tried to use SBDG v1.1.0.RELEASE and I see the below issue. org.springframework.beans.factory.BeanCreationException: Error creating…
1
vote
2 answers

geode client server version not supported - Peer or client version with ordinal 100 not supported

I've a springboot app hosted on PCF trying to connect to PCC(pivotal cloud cache). I've spinned up a PCC instance and binded it to my app and pushed the app to cloud foundry. I've added all the required gemfire starter dependencies to springboot and…
1
vote
1 answer

Spring Data Geode register interest is not receiving events

Related to this question I've setup a Spring Data Geode Client application with @EnableClusterDefinedRegions(clientRegionShortcut=ClientRegionShortcut.CACHING_PROXY) and by ensuring all classes are autowired then using the @Resource the Geode…
rupweb
  • 3,052
  • 1
  • 30
  • 57
1
vote
1 answer

spring boot data geode put to region causing duplicate lower case PDX elements

I have a domain object called MyRequest with upper case variable names that is PDX'd to a region called myRequest. Here is the domain object: package region; import org.apache.geode.pdx.PdxReader; import org.apache.geode.pdx.PdxSerializable; import…
rupweb
  • 3,052
  • 1
  • 30
  • 57
1
vote
2 answers

started geode spring boot and save to remote region but failed to start bean gemfireClusterSchemaObjectInitializer

With a simple client app, make an object and object repository, connect to a Geode cluster, then run a @Bean ApplicationRunner to put some data to a remote region. @ClientCacheApplication(name = "Web", locators = @Locator, logLevel = "debug",…
rupweb
  • 3,052
  • 1
  • 30
  • 57
1
vote
1 answer

GemFire server service hangs in cluster mode

I am upgrading GemFire from 8.X.X to GemFire 9.5.2. I am using spring-data-gemfire, version 2.1.9.RELEASE. When I start the service, the first service within the cluster comes up fine. However, the second service simply hangs. I don't see any…
Pravin
  • 11
  • 1
1
vote
0 answers

How to disable Gemfire DEFAULT pool creation in java client

We are having an application which connects to Gemfire cluster for data. We were connecting to Gemfire 8 server using gemfire-7.x.jar. Now our server is upgraded to Gemfire 9 and we were asked to upgrade to gemfire-8.2.x.jar as the older ones are…
Mukund Jalan
  • 1,145
  • 20
  • 39
1
vote
1 answer

Spring session gemfire client - Thread contention - Blacklisting

We have made a retail solution in which session handling is taken care by Spring session .We use gemfire to maintain the session objects and use the client as spring session data gemfire client module. We had initial hookups and it was eventually up…
1
vote
1 answer

Number of simultaneous requests that a Spring-based GemFire client can handle

We are using Spring Session management using Pivotal GemFire in our application. In production, when the load increases the application is not responding (completely hangs). We are getting an error like the client is blacklisted. We checked the…
1
vote
2 answers

How to implement a GemFire CacheListener in Spring Boot using Spring Boot for Pivotal GemFire Starter

May I know how to implement a GemFire/Geode CacheListener in my Spring Boot application? I want to detect delete and update in my "People" Region. I using org.springframework.data:spring-data-gemfire dependency in Maven. Do I need to include any…
Jack
  • 89
  • 6
1
vote
1 answer

Unable to connect to Locator via GFSH

I have started a GemFire Server and Locator via Spring Boot and when I try to connect to the Locator from GFSH, I getting the following issue: gfsh> connect Connecting to Locator at [host=localhost, port=10334] .. Connection refused: connect Below,…
Arunprasad
  • 567
  • 4
  • 14
  • 29
1
vote
2 answers

Spring Session - asynchronous call handling

Does Spring Session management take care of asynchronous calls? Say that we have multiple controllers and each one is reading/writing different session attributes. Will there be a concurrency issue as the session object is entirely written/read…
1
vote
1 answer

Setting @EnableGemFireHttpSession regionName dynamically

Is there any way to provide GemFire regionName dynamically during runtime. Currently we are hardCoding the regionName "testRegion". Sample Code is below. Appreciate any help @Configuration @EnableGemFireHttpSession(poolName = "gemfirePool",…
Sreejith
  • 33
  • 3