Demo application created for http://ekahraman.me
Run sbt assembly
to compile and package standalone JAR.
- Seed Node: You need to export
port
environment variable for the seed node. Seeapplication.conf
for default value (2551
).
export port=2551
java -jar AkkaClusterDemo-assembly-1.0.jar
- Consumer Node:
java -jar AkkaClusterDemo-assembly-1.0.jar consumer
- Producer Node:
java -jar AkkaClusterDemo-assembly-1.0.jar producer
Licensed under MIT License.