You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm in the unfortunate position of migrating from Lettuce to Redisson with a large cache full of keys with hex escape codes. For example, redis-cli renders the keys as "\xd9(foobarbaz". I'm trying to find a way to query these keys via Redisson but I can't find a way around the forced String encoding. If I do client.getMap<ByteArray, ByteArray>("\\xd9(foobarbaz"), it seems Redisson escapes my backslash and "HLEN" "\\xd9%{msgpack:job2jobs/en_US/JSXMG-2794-0}" is received by the server.
Is there a way to accomplish this without changing the key encoding scheme in Redis?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm in the unfortunate position of migrating from Lettuce to Redisson with a large cache full of keys with hex escape codes. For example,
redis-clirenders the keys as"\xd9(foobarbaz". I'm trying to find a way to query these keys via Redisson but I can't find a way around the forced String encoding. If I doclient.getMap<ByteArray, ByteArray>("\\xd9(foobarbaz"), it seems Redisson escapes my backslash and"HLEN" "\\xd9%{msgpack:job2jobs/en_US/JSXMG-2794-0}"is received by the server.Is there a way to accomplish this without changing the key encoding scheme in Redis?
Beta Was this translation helpful? Give feedback.
All reactions