Gets answered questions, validates and puts to kafka.
Ensure that Kafka is accessible before running the service.
Access urls are specified in application.properties for spring.kafka.bootstrap-servers
.
sudo ./gradlew build buildDocker
sudo docker run -p 8080:8080 -t com.surveyor.requests
./gradlew bootRun
POST /respond/{surveyId} with body: [{"id" : "answerId1"}, ... , {"id" : "answerIdN"}]