redis / lettuce

Advanced Java Redis client for thread-safe sync, async, and reactive usage. Supports Cluster, Sentinel, Pipelining, and codecs.

Home Page:https://lettuce.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RedisScriptingCommands (Lua by Java)

SameerTi opened this issue · comments

Hi,

I have a Quick query, I need to following 2 Redis calls into one lua script and call that as an Atomic operation using Lettuce RedisScriptingCommands.html (via methods like scriptLoad and eval).

Could you please help me with sample code?

• Zrangebyscore (It fetches some records)
• Zrem (removes those records)

Regards,

This issue tracker is to handle bug reports and enhancements. Check out community resources at https://redis.io/community/ for guidance on Lua.