This repository shows the working for a producer consumer model in Java