dromara / liteflow

Lightweight, fast, stable, and programmable component-based rule engine/process engine. Component reuse, synchronous/asynchronous orchestration, dynamic orchestration, multi-language scripting support, complex nested rules, hot deployment, smooth refreshing. Let you improve your development efficiency!
Apache License 2.0
2.98k stars 419 forks source link

Redis 订阅模式对我来说没法使用 #56

Closed lizesi closed 6 months ago

lizesi commented 6 months ago

你们的原理是使用下面方法进行订阅 image

但是我使用RMapCache,会出现 \x00 的错误 image #1 使用 StringRedisTemplate 保存数据,可用 #2 使用 RMapCache 保存数据, 出现\x00, 不可用,不要纠结我用的不是 StringCodec

查了下源码 RedissonClient 执行 lua 脚本就乱了 image

eval "return struct.pack('dLc0', 0, string.len(ARGV[1]), ARGV[1])" 0 "test" image

我直接询问了 redisson https://github.com/redisson/redisson/issues/5642 要我直接使用 RMap

这个具体是怎么选?