https://github.com/jelly-liu/NettyAuthorityServerDiscovery
Netty Authority Serveice Discovery Project
An simple authority project write with java language, and Netty, ZooKeeper, Curator, Curator-Service-Discovery
Technical Architecture
- Netty
- ZooKeeper
- Curator, Curator Service Discovery
- Google ProtoBuf
How to build
- Intellij IDEA 2016
- JDK1.8+
- import module with Maven3
How to run
- run NettyAuthorityClient, only one times, this client will watch all the time if new server created or not
- for each time when you run NettyAuthorityServer, will start 1 new Server and register to zookeeper, then client will discovery new server
- that's all, see the log