#stream #redis #async-stream #stream-processing #output-stream #async

app redis-streams-dump

A small utility to dump Redis Streams content into a SeaStreamer file

1 unstable release

0.3.0 Sep 7, 2023

#16 in #output-stream

MIT/Apache

415KB
9K SLoC

Rust 8K SLoC // 0.0% comments TypeScript 1.5K SLoC // 0.1% comments Scheme 25 SLoC JavaScript 3 SLoC

Redis Streams Dump

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

Dependencies

~12–26MB
~393K SLoC