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 git@github.com:airavata-courses/garuda.gitChange directory into garuda/queue_worker
cd garuda/queue_worker/Clean
mvn cleanCompile source code and build package using maven
mvn compile assembly:singleJAR 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