Apache geode gemfire 脉冲

问题描述

我们正在使用 Spring 数据 gemfire,我们计划迁移到 Apache geode 最新版本。在 VMWare gemfire 版本中,我们必须明确设置 gemfire 可安装的路径才能使脉冲正常工作。如果我们使用 Apache geode jar,我们是否能够在不指定可安装位置的情况下启动并运行脉冲。

我们没有在我们的项目中使用 gfsh,我们希望确保在升级 gemfire 时我们对可安装版本的依赖最小。

解决方法

使用 GEODE_HOME 时无需设置 spring-boot-data-geode 环境变量,只需确保正确的依赖项位于应用程序的类路径中(请参阅 here更多细节)。 我写了一个非常基本的例子,展示了如何在嵌入了 Pulse 应用程序的情况下启动 Locator,你可以找到它 here

作为旁注,关于以下内容:

我们正在使用 Spring data gemfire,我们计划迁移到 Apache geode 最新版本。

为了避免奇怪且难以修复的运行时问题,请始终确保使用 Spring Boot for Apache Geode and VMware Tanzu GemFire Version Compatibility Matrix

中完全支持的版本组合