This is a sample application used for Neueda homework. The homework itself is here.
./gradlew build
All services require a running etcd service to function properly.
Service artifacts are runnable JARs with embedded Tomcat.
java -jar consumer/build/libs/consumer-1.0.jar
java -jar producer/build/libs/producer-1.0.jar
They accept some configuration options via command-line flags.
Flag | Description | Default |
---|---|---|
etcd |
etcd endpoint | http://127.0.0.1:2379 |
server.address |
address to publish for service discovery | 127.0.0.1 |
server.port |
port to run on and publish for service discovery |