This repository contains a simple setup to test data integrity using Beanstalkd, a simple, fast work queue service.
Beanstalkd is a lightweight messaging system that provides reliable message delivery. This repository demonstrates how to use Beanstalkd to test data integrity by publishing and subscribing to messages.
-
Install Beanstalkd: If you haven't already, install Beanstalkd on your system. You can find installation instructions in the Beanstalkd documentation.
-
Clone the Repository: Clone this repository to your local machine using Git:
git clone https://github.com/hebobibun/beanstalkd-integrity.git
-
Run Publisher: Start the publisher service to publish messages to Beanstalkd.
cd pub go run main.go
-
Run Subscriber 1: Start the subscriber service to receive and process messages from Beanstalkd.
cd sub1 go run main.go
-
Run Subscriber 2: Start the subscriber service to receive and process messages from Beanstalkd.
cd sub2 go run main.go
-
Verify Integrity: Monitor the subscriber output to ensure that messages are received intact and in the correct order.
Contributions are welcome! If you find issues or have ideas for improvements related to testing data integrity with Beanstalkd, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.