geode

java connection refused error with spring boot data geode remote locator

拜拜、爱过 提交于 2021-02-11 14:43:12
问题 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. The Application class is: package cm; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.data.gemfire.config.annotation.ClientCacheApplication; import

Replicated caching solutions compatible with AWS

核能气质少年 提交于 2021-02-08 09:52:43
问题 My use case is as follow: We have about 500 servers running in an autoscaling EC2 cluster that need to access the same configuration data (layed out in a key/value fashion) several million times per second. The configuration data isn't very large (1 or 2 GBs) and doesn't change much (a few dozen updates/deletes/inserts per minute during peak time). Latency is critical for us, so the data needs to be replicated and kept in memory on every single instance running our application. Eventual

How to connect a remote-locator in Geode

柔情痞子 提交于 2021-02-08 07:52:39
问题 I just can't connect to a remote locator in Geode. The command line log is pasted below: gfsh>connect --locator=192.168.141.128[10334] Connecting to Locator at [host=192.168.141.128, port=10334] .. No route to host (Host unreachable) What do I need to do to add a route to the locator? I have successfully started the locator in member1. gfsh>start locator --name=locator1 Starting a Geode Locator in /home/geodeHome/my_geode/locator1... ........... Locator in /home/geodeHome/my_geode/locator1 on

Spring Data GemFire DiskStore

拥有回忆 提交于 2021-01-29 06:32:10
问题 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 = "disk_store") @EnableClusterConfiguration(useHttp = true) @EnableEntityDefinedRegions(basePackages = "xxx.entity") @EnableGemfireRepositories(basePackages = "xxx.repository") public class GeodeClientConfiguration { } The config is below: spring.data.gemfire.disk.store.name=disk_store spring

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

穿精又带淫゛_ 提交于 2020-04-30 07:19:29
问题 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 bean with name 'quoteService' defined in file [C:\Users\madhu\Downloads\pcctest\pcctest\target\classes\com\example\pcctest\QuoteService.class]: Initialization of bean failed; nested exception is org.springframework.beans

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

*爱你&永不变心* 提交于 2020-04-30 07:18:11
问题 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 bean with name 'quoteService' defined in file [C:\Users\madhu\Downloads\pcctest\pcctest\target\classes\com\example\pcctest\QuoteService.class]: Initialization of bean failed; nested exception is org.springframework.beans

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

安稳与你 提交于 2020-04-30 06:59:25
问题 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 it appears like it was able to read the locator and server information from VCAP_SERVICES. But, I see the following error on spring boot app startup. org.apache.geode.cache.client.internal.ConnectionFactoryImpl.createClientToServerConnection

Spring Data Geode register interest is not receiving events

南笙酒味 提交于 2020-03-16 08:07:27
问题 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 server regions are setup and instantiated on the client. @Resource(name = "request") private Region<String, Request> request; I can put and get on the regions like this. However when I try and register interest in a key on the server the updates from

Spring Data Geode Region has local scope and cannot listen to remote Region events

我的梦境 提交于 2020-03-04 15:38:30
问题 I am using Spring Data for Apache Geode for a Spring Boot app that uses a remote Apache Geode server. To set up local Regions I am using @Configuration class like: @Configuration public class GeodeConfig { public static Region<String, String> myRegion; @Bean("setupMyRegion") public Region<String, String> setupMyRegion(GemFireCache cache) { Region<String, String> r = cache.getRegion("myRegion"); myRegion = r; return r; } } This enables me to put and get data with the Region. When I register