git clone https://github.com/abhirockzz/javaee8-jaxrs-sse-client.git
mvn clean install
- will createjavaee8-jaxrs-sse-client.war
intarget
- Create Docker image -
docker build -t <tag> .
- Run !
docker run --rm --name javaee8-jaxrs-sse-client -it -p 8080:8080 <tag>
Let things start up (20-30 seconds) - you should see SSE events being consumed from https://sse.now.sh