Crates.io | redis-streams-dump |
lib.rs | redis-streams-dump |
version | 0.3.0 |
source | src |
created_at | 2023-09-07 21:39:07.649997 |
updated_at | 2023-09-07 21:39:07.649997 |
description | A small utility to dump Redis Streams content into a SeaStreamer file |
homepage | |
repository | https://github.com/SeaQL/sea-streamer |
max_upload_size | |
id | 966582 |
size | 43,249 |
A small utility to dump Redis Streams messages into a SeaStreamer file.
cargo install redis-streams-dump
redis-streams-dump --stream redis://localhost/clock --output ./clock.ss --since 2023-09-05T13:30:00.7 --until 2023-09-05T13:30:00.8
# OR in the workspace
cargo run --package redis-streams-dump -- ..
redis-streams-dump 0.3.2
USAGE:
redis-streams-dump [OPTIONS] --output <output> --stream <stream>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--output <output> Output file. Overwrites if exist
--since <since> Timestamp start of range
--stream <stream> Streamer URI with stream key, i.e. try `redis://localhost/hello`
--until <until> Timestamp end of range