This script is for copying data from one Pulsar host/namespace/topic to another. Using a Pulsar function would probably be faster but we were blocked on uploading the function.
- Create config.toml
cp config-sample.toml config.toml
- Fill out config.toml with hostname, tenant, namespace, topic, and tokens.
RUST_LOG=info cargo run --release