I’m interested in using a lua script to post process elements being pushed to Redis list.
So what I want to know is if there is a way to tell Redis:
“Always run lua script X after a value is pushed into list Y”
I’m interested in using a lua script to post process elements being pushed to
Share
No, you can’t do that. Unless you make your own command (in lua), which will call LPUSH and perform your post-processing. You have to also make all developers use that command instead of original LPUSH (when corresponding keys are concerned). Good luck on that 🙂