Netty Authority Serveice Discovery Project

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

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

  1. Netty
  2. ZooKeeper
  3. Curator, Curator Service Discovery
  4. Google ProtoBuf

How to build

  • Intellij IDEA 2016
  • JDK1.8+
  • import module with Maven3

How to run

  1. run NettyAuthorityClient, only one times, this client will watch all the time if new server created or not
  2. for each time when you run NettyAuthorityServer, will start 1 new Server and register to zookeeper, then client will discovery new server
  3. that's all, see the log

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值