geode

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

感情迁移 提交于 2020-03-04 15:38:04
问题 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

Connecting GemFire using Spring Boot and Spring Data GemFire

那年仲夏 提交于 2020-02-04 10:34:36
问题 I am trying to connect to an existing GemFire Locator using Spring Data GemFire and Spring Boot. Following is my cache configuration <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cache="http://www.springframework.org/schema/cache" xmlns:gfe="http://www.springframework.org/schema/gemfire" xmlns:context="http://www.springframework.org/schema/context" xmlns:gfe-data="http://www

Problem creating region and persist region to disk Geode Gemfire Spring Boot

两盒软妹~` 提交于 2020-01-25 00:20:09
问题 I watched video from Springone Platform and John Blum as speaker and interested try myself in Geode/Gemfire setup but with setup as described in Spring Data for Apache Geode Reference Guide So i make spring boot geode client, locator and cache server using Eclipse, and i have problems when : Start spring locator, start cache server, and start client with restcontroller so I can post my POJO TitleContent and get my list of TitleContent. Client give me exception Caused by: org.springframework

Spring-Data-Gemfire - Unable to contact a Locator service. Operation either timed out or Locator does not exist

本秂侑毒 提交于 2020-01-24 21:34:26
问题 I want to connect to a exist locator. Now I don't have client-server. I started a locator,port is 40001, server1 port is 40411. gfsh>list members Name | Id ------- | ---------------------------------------------- test1 | 192.168.1.106(test1:1880:locator):1024 server1 | 192.168.1.106(server1:7532):1025 Configuration is: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:gfe-data="http://www.springframework.org/schema/data/gemfire" xmlns:xsi=

Apache Geode Web framework

时光总嘲笑我的痴心妄想 提交于 2020-01-24 18:47:13
问题 We’re using VS and the following web frameworks are integrated https://visualstudio.microsoft.com/vs/features/web/frameworks/ Angular Vue React Bootstrap Cordova I’d like to know if there’s a web framework more integrated with Geode or which of these to choose for a UI layer? 回答1: Following up to what VHF stated, Spring Boot , on the other hand, contains excellent support for various Web Frameworks and other Web technologies. See here: Developing Web Applications : https://docs.spring.io

Apache Geode Web framework

二次信任 提交于 2020-01-24 18:47:04
问题 We’re using VS and the following web frameworks are integrated https://visualstudio.microsoft.com/vs/features/web/frameworks/ Angular Vue React Bootstrap Cordova I’d like to know if there’s a web framework more integrated with Geode or which of these to choose for a UI layer? 回答1: Following up to what VHF stated, Spring Boot , on the other hand, contains excellent support for various Web Frameworks and other Web technologies. See here: Developing Web Applications : https://docs.spring.io

GemFire : CacheLoader : Getting data from external database

冷暖自知 提交于 2020-01-17 06:17:12
问题 cacheloader : Use case One of main use case where GemFire is used is, where it is used as a fast running cache which holds most recent data (example last 1 month) and all remaining data sits in back-end database. I mean Gemfire data which is 1 month old is overflowed to database after 1 month. However when user is looking for data which was beyond 1 month, we need to go to the database and get the data. Cache loader is suitable for doing this operation on cache misses and gets data from the

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

雨燕双飞 提交于 2020-01-16 08:39:50
问题 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 tests don't run. Presumably this is missing a Gradle dependency but I can't find a Gradle example in the documentation. 回答1: Per Javalibs I needed to add implementation 'org.springframework.data:spring-data-geode-test:0.0.11.RELEASE' to gradle.build

Unable to create Continuous Query on geode

 ̄綄美尐妖づ 提交于 2020-01-07 02:59:05
问题 I am trying to do a poc on creating continiuous query on Apache Geode. But Getting below exception Caused by: java.lang.IllegalStateException: CqService is not available. at com.gemstone.gemfire.cache.query.internal.cq.MissingCqService.start(MissingCqService.java:171) ~[gemfire-core-1.0.0-incubating.M1.jar:na] at com.gemstone.gemfire.cache.query.internal.DefaultQueryService.getCqService(DefaultQueryService.java:810) ~[gemfire-core-1.0.0-incubating.M1.jar:na] at com.gemstone.gemfire.cache

Get geode REST API going with SSL

橙三吉。 提交于 2019-12-24 11:29:21
问题 I've setup gemfire.properties to make the web component require SSL using ssl-enabled-components=web and setting up a keystore. The locator and server are starting ok and GFSH connects to the JMX manager. However, when I try and start the Swagger UI then I am getting ERR_SSL_VERSION_OR_CIPHER_MISMATCH . It happens when the config is that ssl-ciphers= and ssl-protocols= or set to any ... So what's the required REST API cipher for Apache Geode? Thanks 回答1: I tested this with a basic cert