1个不稳定版本
0.3.0 | 2023年9月7日 |
---|
#18 in #output-stream
420KB
9K SLoC
Redis Streams导出
一个小工具,用于将Redis Streams消息导出到SeaStreamer文件。
cargo install redis-streams-dump
redis-streams-dump --stream redis://127.0.0.1/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://127.0.0.1/hello`
--until <until> Timestamp end of range
依赖项
~12–25MB
~379K SLoC