7 lines
611 B
Markdown
7 lines
611 B
Markdown
* Subscribe to a ZMQ pub socket with `uv run record_sub.py`
|
|
* Provide port and filename as arguments. For example: `uv run record_sub.py 99174 messages-20250701.jsonl`
|
|
* Playback the recorded messages by publishing them to the provided port with `uv run record_playback.py`
|
|
* Messages should be played with the same timing offsets as they were recorded. Starting after the first message (which is send immediately, without delay).
|
|
* Again, provide port and filename as arguments: `uv run record_playback.py 99174 messages-20250701.jsonl `
|
|
|
|
Usefull for testing the functionality of a pubsub subsciber script.
|