This repository contains a Rust-based solution for receiving and processing data chunks using the NATS messaging system. It is designed to read files, break them into chunks, and send these chunks to a writer consumer using NATS. The writer consumer then assembles these chunks back into the original file with some replacements.
Not all additional requirements are made, but the basic architecture is ready for further iterative improvement.
- Efficient data chunking and transmission using NATS.
- Extensible processing layer for the received data chunks.
- Error handling for various edge cases.
-
Install Rust and Cargo, following the instructions here.
-
Clone this repository:
git clone https://github.com/qqrm/r-vision-test.git
-
Navigate to the project folder and build the project:
cd r-vision-test cargo build
Please refer to the internal documentation and comments in the source files for specific details on how to use and extend this project.
Run NATS.
Run the test suite using:
cargo test