This project implements a Producer-Consumer Management System using gRPC with Java. We utilized BloomRPC for testing and checking the requests.
The Producer-Consumer Management System is a classic synchronization problem, where producers generate data and consumers process it. This project leverages gRPC to facilitate efficient communication between producers and consumers, ensuring that data is transmitted and processed reliably.
- gRPC Communication: Efficient and scalable communication between producers and consumers.
- Multi-threading: Supports multiple producers and consumers.
- Request Validation: Uses BloomRPC for testing and validating requests.
- Error Handling: Robust error handling and logging.
- Java: Programming language used for implementation.
- gRPC: Framework for handling remote procedure calls.
- BloomRPC: Tool for testing and validating gRPC requests.
- Install dependencies:
mvn install
- Compile the project:
mvn compile
- Run the server:
mvn exec:java -Dexec.mainClass="com.yourpackage.Server"
- Run the client:
mvn exec:java -Dexec.mainClass="com.yourpackage.Server"
Ensure you have the following installed on your machine:
- Java (JDK 8 or higher)
- Maven
- BloomRPC
- Clone the repository:
git clone https://github.com/your-username/Producer_Consumer_Management_System.git cd Producer_Consumer_Management_System