Raft consensus algorithm
Aeron Cluster
Java 21
Java 21
bank-cluster
- Domain logicbank-app
- Client application that interacts with the clusterbank-libs
- Common modules
make build-jar
make build-image
make run-containers
./gradlew generateCodecs
./gradlew runSingleNodeCluster --args='--aeron.cluster.port=9000 --aeron.cluster.node=0 --aeron.cluster.baseDir=node0'
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Set sun.nio.ch.SelectorImpl.selectedKeys accessible: module java.base does not "opens sun.nio.ch" to unnamed module @XXXXXX
Add --add-opens java.base/sun.nio.ch=ALL-UNNAMED
to the JVM arguments.