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
这是一个使用Java语言编写的简单授权项目,集成了Netty、ZooKeeper和Curator等技术。项目采用Netty作为网络通信框架,并利用ZooKeeper与Curator实现服务注册与发现的功能。此外还使用了Google ProtoBuf进行消息序列化。
2854

被折叠的 条评论
为什么被折叠?



