skip to Main Content

Why i get (nil) when read redis stream

In my stream I have 1 pending message: redis[7]> XREADGROUP GROUP symfony consumer COUNT 1 STREAMS messages 0 1) 1) "messages" 2) 1) 1) "1592850947048-0" 2) (nil) redis[7]> XPENDING messages symfony 1) (integer) 1 2) "1592850947048-0" 3) "1592850947048-0" 4) 1)…

VIEW QUESTION

Deleting Multiple Keys in Redis

In my redis database, I'm trying to delete a series of keys that start with: EPOCH_vgsOwnedVehs_ I have tried the following: redis-cli -h 127.0.0.1 -p myport -a mypassword --scan --pattern EPOCH_vgsOwnedVehs_* | xargs redis-cli unlink and redis-cli -h 127.0.0.1 -p…

VIEW QUESTION
Back To Top
Search