在REST控制器Spring项目中,我希望将会话信息存储在Redis中。在我的application.properties中,我定义了以下内容:spring.session.redis.namespace=rdrestcoretemplate.setHashValueSerializer( new GenericJackson2JsonRedisSerializer()
Nifi在后台使用spring数据,问题描述如下: Spring boot + Redis - Generating a strange key Spring boot caching with redis我没有spring配置来编辑或spring数据类,这些都是在Nifi的实现中完成的。) {
if (data == null || data.length == 0) return