Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
lizesi opened this issue Feb 26, 2024 · 0 comments
Closed

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

lizesi opened this issue Feb 26, 2024 · 0 comments

Comments

@lizesi
Copy link

lizesi commented Feb 26, 2024

你们的原理是使用下面方法进行订阅
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
redisson/redisson#5642
要我直接使用 RMap

这个具体是怎么选?

@lizesi lizesi closed this as completed Feb 26, 2024
@lizesi lizesi closed this as not planned Won't fix, can't repro, duplicate, stale Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant