redis rejson模块与Google Memory Store兼容吗?我想将JSON存储在Memory Store中,我可以使用Rejson模块吗?
否,您无法使用rejson模块,因为当前不支持它在Google Cloud MemoryStore中使用任何模块,因为它正在运行 v3.2.11 和用户模块系统在Redis v4.0 中引入。同样在恢复模块要求中,它指出它需要Redis v4.0 或更高版本。
与此相关的是,已经有一个公共功能请求Google Cloud Memory Store发布v4.0,其中说:
我们正在努力在第1季度(2019年)中发布4.0。此后不久,我们将进行5.0。
我无法确认它,但是可以是在引入 v4.0 之后,您可以使用Rejson模块。
截至2020年7月13日,即使使用最新的Redis版本5.0
现在的内存store现在使用beta标签支持redis 4,但它们不支持模块:https://cloud.google.com/memorystore/docs/docs/redis/supported-versions/supported-versions#redis_version_40_40_40_betae/p>
v6是兼容的。下面的所有版本都不是。希望这会有所帮助。