This project is used to retrieve , display and store data coming in from weather stations.
Before starting this service, it is best if you build and have running the helios-station
services to publish weather data.
Instructions are attached in said project.
First you need to build the project so that you end up with the application artifact.
docker run -it --rm -v "$(pwd)":/app -w /app maven:3.6.3-jdk-8 mvn clean package
docker-compose up --force-recreate
You can see the results of processing like this:
docker-compose logs -t -f --tail 100 spark-client
docker-compose down --remove-orphans
- This will also remove the containers.
The services can be configured via the Docker images they run on using environment variables.
- The streaming populations feature can be tested by placing a new valid
.json
file along the others in thedata
folder. - Depending on your Docker configuration and resource allocation, the application might take some time before it shows the first results on the console.