redis-reactive如何在网关fliter处拿到操作值

cloud gateway的filter(实现GlobalFilter)中使用redis-reactive

操作redis时,想要拿到操作后的数据应该怎么做
我的代码要不报“Value is never used as Publisher ”,要不就是“Calling 'subscribe' in non-blocking context is not recommended ”

我尝试把数据放在请求头里边以解决问题,但这明显是愚蠢的做法

我如何正确的发布(Publisher)redisTemplate.execute(LUA,keyList,argList),并且拿到返回值

redisTemplate.execute 有个泛型返回值,lua脚本 return 对象,泛型直接接收即可