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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

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's user avatar
  • 8,056
0 votes
0 answers
32 views

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 ...
Nina's user avatar
  • 1
0 votes
0 answers
9 views

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#...
RajendraShah's user avatar
1 vote
1 answer
56 views

Is it possible to have 2 Gemfire clients in the same JVM?

I am trying to do a check. I've got a poollocator with two servers. I want to test whether the servers are being set up as Active-Active or Active-Passive? The idea is to insert data with one client ...
James Webster's user avatar
-1 votes
3 answers
80 views

Fetch Last 24 hour data using Gemfire OQL

Can anyone help me with fecthing exactly last 24 hr data directly using gemfire OQL or some custom java code. i tried using LIKE query and fetch two days of data but i am not sure how two pass dynamic ...
ayush srivastava's user avatar
0 votes
1 answer
33 views

PartitionOfflineException getting spring + geode + kubernetes

Setup: spring boot 2.7.8 geode version: 1.14.4 I have one service (app) with PARTITION_PROXY region and second one (cache) with PARTITION_PERSISTENT_OVERFLOW. Both are running as separated pods in ...
Jan's user avatar
  • 1
-1 votes
1 answer
135 views

Integration tests with Cucumber using embedded GemFire for a Spring Boot application deployed in an Apache Geode client/server topology

I intend to write integration tests with Cucumber for a GemFire cache client application using Spring Boot and deployed in an Apache Geode client/server topology. I referred to the question - How to ...
pradhan's user avatar
0 votes
1 answer
124 views

Pivotal Gemfire: Cannot create GemfireCache; NoSuchMethodError Jgroups

My system currently uses a gemfire cache and uses the io.pivotal.gemfire dependencies. Two of the dependencies, geode-core and geode-management both use org.jgroups (jgroups) as a runtime dependency. ...
kingS's user avatar
  • 11
0 votes
1 answer
161 views

Unable to create Global region using Spring Data Geode/Gemfire

From spring data geode/gemfire, can we create Regions on the cluster ? Currently it is creating local cache region but any configuration being done either in ClientCache mode or ServerCache mode, ...
Malaya Nayak's user avatar
0 votes
1 answer
61 views

CacheServerApplication unable to connect to Gemfire cluster running apart from localhost

Can you please provide minimum configuration needed to connect a Gemfire CacheServerApplication as a REPLICATE_PROXY to a Gemfire/Geode cluster running apart from localhost ? I have a cluster running ...
Malaya Nayak's user avatar
0 votes
1 answer
44 views

Spring Boot Data Geode Fails to Start Docker Container

I am trying to setup a simple project with having 'org.springframework.geode:spring-geode-starter' in my build.gradle and now trying to dockerize the application. This runs fine locally if I run as ...
Malaya Nayak's user avatar
0 votes
0 answers
38 views

Obtain lock on replicated Geode region

Im using Geode/Gemfire Peer-to-Peer topology with a replicated region. I want this region to be refreshed every X hrs. I think this will require some locking on the region to ensure members dont ...
Boss Man's user avatar
  • 587
0 votes
1 answer
269 views

Can persistent databases and in-memory database work together?

My requirement is to utilize 2 different database sources(persistent) and serve to frontend. To make api response faster can I utilize in-memory database like H2 or gemfire, to store data that is ...
reelpro7on's user avatar
0 votes
1 answer
157 views

Geode Authentication implementation using TLS/SSL certificate

I am trying to implement TLS based authentication, basically SSL certificate based authentication, when two-way SSL is enabled in Geode cluster. Authentication is performed based on certificate DN. ...
NoName's user avatar
  • 46
0 votes
2 answers
43 views

<gfe:entry-ttl> and <gfe:entry-tti> elements are not allowed under <gfe:replicated-region>

Im using Apache Geode 1.14.4 and spring-data-geode version 2.7.2. I have following Region config which fails to bring up my app. <beans xmlns="http://www.springframework.org/schema/beans" ...
Boss Man's user avatar
  • 587
0 votes
1 answer
123 views

Issue with Spring Boot Gemfire Integration

I am currently working on a project which uses Spring Boot Apache Kafka and Gemfire Integration . In this project I have to subscribe the topic from the kafka and delete some matching keys from the ...
JavaLearner's user avatar
0 votes
1 answer
59 views

Need to upgrade to Spring Framework 5.x.x while remaining on Spring Data GemFire 1.3.4; Is there anyway to ensure a smooth transition?

Our project used to depend on spring 3.x.x and 4.x.x, while it has to upgrade to 5.3.18 due to the vulnerabilities security department require to handle. we strong depend on gemfire 8.2.5 and it ...
Lotus's user avatar
  • 1
0 votes
1 answer
147 views

Geode/GemFire/PCF/SCDF error - user not authorized for DATA:WRITE / DATA:READ permission

We are using Spring Cloud Data Flow to build stream pipe. The spring-cloud-dataflow-server version is 2.8.3. The out of box sink module gemfire is provided by official site: https://docs.spring.io/...
WileyWu12555's user avatar
0 votes
1 answer
201 views

Spring Data Gemfire: TTL expiration annotation is not working; how to set TTL using annotations?

In Gfsh, I was able to do: create region --name=employee --type=REPLICATE --enable-statistics=true --entry-time-to-live-expiration=900. We have a requirement to create a Region using Java using the @...
Ramesh Mandri's user avatar
0 votes
1 answer
247 views

Compatibility of SBDG with VMWare Tanzu Gemfire

The latest version of VMWare Tanzu Gemfire is currently 9.10.12, which is based on Apache Geode 1.12. However, from the compatibility matrix, it seems like the compatible SBDG version 1.3.x has ...
chocs12345's user avatar
0 votes
1 answer
201 views

Spring Data Gemfire: How to set TTL for entry using annotation?

I am trying to set timeout for 30 days (i.e. 2592000 seconds) for entries in a region. In, gfsh I was able to do create region --name=employee --type=REPLICATE --enable-statistics --entry-time-to-live-...
JustLift's user avatar
  • 153
0 votes
1 answer
325 views

Spring Boot for GemFire - Error creating bean with name 'continuousQueryListenerContainer'

I am using spring boot 2.5.6 and integrating gemfire with it. Getting exception while deploying the application on PCF as: Error creating bean with name 'continuousQueryListenerContainer' defined in ...
pawan kumar's user avatar
0 votes
1 answer
243 views

spring data geode pool is not resolvable as a Pool in the application context

I've come back to a @SpringBootApplication project that uses spring-geode-starter with version 1.2.4 although the same error happens with upgrades to 1.5.6 version. It sets up a Geode client using @...
rupweb's user avatar
  • 3,062
0 votes
1 answer
259 views

Alternate between Spring Boot cache and GemFire

I have a Spring Boot app with caching enabled using the @EnableCaching in the main class and @Cacheable for certain methods. This was earlier working well. Now I have also configured GemFire cache to ...
Vaishnavi Killekar's user avatar
0 votes
1 answer
349 views

How to deserialize com.auth0.jwk.Jwk that does not have no-arg constructor?

I'm implementing caching in my Spring Boot (v2.5.2) app using GemFire. The class which needs to be cached - import org.springframework.data.annotation.Id; import org.springframework.data.gemfire....
Vaishnavi Killekar's user avatar
-1 votes
1 answer
148 views

Connecting to pivotal cloud cache from a spring boot gemfire client app on non PCF (VSI) Platform

I have Pivotal cloud cache service with https URL , i can connect to the https service via gfsh . I have a spring boot app annotated with @ClientCacheAPplication which is running on a VSI , on a ...
Vaidy's user avatar
  • 19
-1 votes
1 answer
63 views

Error - Bean Definition Overriding - ClientGemFirePropertiesConfigurer

SSLConfiguration inherits ClientGemFirePropertiesConfigurer from EmbeddedServiceConfigurationSupport class. When I EnableSSL which loads SSLConfiguration, the runtime fails with error - Bean ...
user3498653's user avatar
0 votes
1 answer
155 views

Configuring Pulse Data Browser in Spring Data GemFire 1.7.6.RELEASE

I am trying to get the Pulse data browser set up within our project, but having no luck. I have seen this post where John lays out pretty clear and concise instructions (from what I can tell it's ...
eshoukry's user avatar
0 votes
1 answer
209 views

Spring Data Geode Expiration for @Cacheable abstraction

I am using the @Cacheable("MyCache") annotation along with the PCC (Pivotal Cloud Cache) provider. Here is my configuration class @Configuration @EnableCachingDefinedRegions @...
Sandip Singh's user avatar
1 vote
1 answer
167 views

Create Lucene Indexes in Apache Geode Region

I'm trying to create Lucene Indexes on Apache Geode Region. I have all the Region definitions in cache.xml. This cache.xml is read by cache server and Regions are created. If I define a Region ...
nandeesh's user avatar
  • 753
0 votes
1 answer
118 views

Auto Syncing for Keys in Apache Geode

I have an Apache Geode setup, connected with external Postgres datasource. I have a scenario where I define an expiration time for a key. Let's say after T time the key is going to expire. Is there a ...
user956021's user avatar
1 vote
1 answer
147 views

Multiple data insertions using async writing with Apache Geode

We have Apache Geode connected to Postgres using an AEQ + AsyncCacheListener configured to write data to Postgres. During async write, we submit the list of events that we want to persist and it ...
user956021's user avatar
0 votes
1 answer
82 views

Way to call data source only once for multiple keys in apache geode

I have apache geode as inline cache where it is connected to postgres as datasource. Since for getting all keys at once when getall method id invoked from region It calls CacheLoader Sequentially. Is ...
user956021's user avatar
0 votes
1 answer
226 views

calling getall in apache geode to getall data for the keys in the list is slow

I am using region getall method to get values for all keys, but what i found is that for the key present in apache geode it gets data quickly but for one which is not present in apache geode. it calls ...
user956021's user avatar
0 votes
1 answer
79 views

How can i get complete data from apache geode if geode is having partial data and other data is present in external datasource

I have an apache geode setup. I have connected geode with external datasource which is postgres. There is a scenario where i have few data present in apache geode and rest all is in postgres. I am ...
user956021's user avatar
0 votes
1 answer
55 views

How can i create a materialized view in apache geode?

I want to have value based on multiple joins between the table so how can i create a materialized view in apache geode.
user956021's user avatar
0 votes
1 answer
244 views

Unable to Instantiate Class while Alter Region adding cache loaded to that region

I have an apache geode setup where there is one locator and one Server. we have a region employee in that. we were trying to implement in-line cache where a cache miss will lookup into database and ...
user956021's user avatar
0 votes
1 answer
930 views

GemFire OQL Query - How do I use the count of a SELECT statement in the WHERE clause?

I am trying to query all the IDs of the records from /ExampleRegion. I want to retrieve records if the count of the ID is only 1, so there is only 1 record in the region with that ID. SELECT COUNT(*), ...
Aye Alk's user avatar
1 vote
1 answer
281 views

Spring Data GemFire custom partition and performance

We are using Spring Data GemFire server, client and locator. All of our GemFire PARTITION Regions have complex keys. For example: class Key { String id1; String id2; Date date; } We would like ...
Vaidy's user avatar
  • 19
0 votes
2 answers
677 views

Upgrade to spring-geode-starter 1.4.2 produces condition, introspection and ClassNotFoundExceptions

On return to a Geode reactive streams project after some time I would like to upgrade to latest spring-geode-starter. Perhaps related to Spring Boot Geode Unsatisfied dependency expressed through ...
rupweb's user avatar
  • 3,062
1 vote
2 answers
1k views

Spring Boot Geode Unsatisfied dependency expressed through method 'sessionRegion'

The correct dependencies for my gradle.build are driving me crazy! In order to access an Apache Geode 1.10 server, I am using: // Geode client dependency implementation 'org.springframework.geode:...
rupweb's user avatar
  • 3,062
1 vote
1 answer
149 views

Get region statistics in spring data geode client application

I need to get the region statistics on apache geode client-cache application. Setup: 1 locator 1 server 1 client-cache app All the modules are created using spring. Cache server will create regions ...
nandeesh's user avatar
  • 753
2 votes
2 answers
1k views

How to renew keystore (SSLContext) in Spring Data Geode connections without restarting?

The context is that I am working on a Kubernetes project, where we use a Geode cluster, and Spring Boot, also Spring Boot Data Geode (SBDG). We have developed an app with it, a ClientCache. Also we ...
Zoltan Kutasi's user avatar
2 votes
1 answer
326 views

Gemfire Pdx Serialization Put All

Is it normal that a client application took a longer time to insert data into GemFire Cluster for the first time? For example, my client application took around 4 seconds to insert GemFire Cluster ...
Jack's user avatar
  • 89
1 vote
1 answer
123 views

Apache Geode crud repository findById() returns the wrong array

I'm using apache geode 1.13.0 The data class is simple, it contains 1 ArrayList and 1 HashMap The data is stored correctly on geode but then repository.findById() returns the wrong array and map ...
claudiu's user avatar
  • 11
0 votes
0 answers
84 views

GemFire Select * Query with index returns inconsistent results

I have a GemFire Query, something like "SELECT * FROM /someregion WHERE fieldX IN SET('123')". This query returns inconsistent results. For example, it will return the same record many ...
RO RO's user avatar
  • 3
0 votes
1 answer
108 views

Using HINT and TRACE with GemfireTemplate.query method [closed]

I am trying to add a Trace to an OQL Query as mentioned in the docs, using GemfireTemplate query method. But the OQL validation fails with QueryInvalidException "unexpected tokern: <". ...
RO RO's user avatar
  • 3
0 votes
0 answers
98 views

Increment negative number displayed for Queue Size field in the Member Clients Table

After enabling subscription conflate in my regions, I saw increment negative number (-XXXXX) in the queue size field in the Member Client Table in GemFire Pulse Website. Any reason that the negative ...
Jack's user avatar
  • 89
1 vote
2 answers
235 views

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 ...
JingJong's user avatar
  • 207
1 vote
1 answer
268 views

@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(...
Matt Savage's user avatar

1
2 3 4 5 6