Redis ReJSON 模块是否与 Google Memorystore 兼容?

tay*_*yab 5 google-cloud-platform google-cloud-memorystore

Redis ReJSON 模块是否与 Google Memorystore 兼容?我想将 JSON 存储在 memorystore 中,我可以使用 ReJSON 模块吗?

Tas*_*sZG 5

不,您不能使用 ReJSON 模块,因为目前不支持在 Google Cloud Memorystore 中使用任何模块,因为它运行的是v3.2.11并且用户模块系统是在 Redis v4.0引入的。同样在 ReJSON 模块要求中,它声明它需要 Redis v4.0或更高版本

与此相关,已经有一个公开的要求Google Cloud Memorystore 发布 v4.0 的功能请求,其中声明:

我们正在努力在第一季度(2019 年)发布 4.0。我们将在不久之后跟进 5.0。

我无法确认,但可能是在引入v4.0之后,您就可以使用 ReJSON 模块了。