Skip to content

Instantly share code, notes, and snippets.

@ptasker
Last active April 27, 2023 14:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptasker/dfd59a3bfb5afbd851bd5e22ded619b9 to your computer and use it in GitHub Desktop.
Save ptasker/dfd59a3bfb5afbd851bd5e22ded619b9 to your computer and use it in GitHub Desktop.
Redis commands

Get all keys

keys *

Get all data for key

XRANGE "kl:stream:github.actions.v0.JobCanceledEvent:0" - +

Delete event/value at key

XDEL "kl:stream:github.actions.v0.JobCanceledEvent:0" "1-0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment