Create a consumer which listens messages from a Rabbitmq queue, and processs the request. The project consumes data_extractor package to fetch formatted NEXRAD data. It pushes the extracted to and API endpoint
- Java 11 or above
- Apache Maven
- Resource to install Apache Maven : https://maven.apache.org/install.html
Clone garuda project
git clone [email protected]:airavata-courses/garuda.git
Change directory into garuda/queue_worker
cd garuda/queue_worker/
Clean
mvn clean
Compile source code and build package using maven
mvn compile assembly:single
JAR file is generated at folder : /target
cd target/
Note: JAR file built : queue_worker-1.0.0-jar-with-dependencies.jar
Run project
java -jar queue_worker-1.0.0-jar-with-dependencies.jar