Eric Zhao
9d42edcffa
Add cluster token server interface to core and support embedded mode
- Add a EmbeddedClusterTokenServer interface
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
b973aca1f5
Add implementation for default token server module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
f83ea428ff
Update token client interface and default implementation
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
6caa19ea95
Add default Sentinel cluster transport implementation with Netty
- Add Netty transport client implementation and default cluster token client
- Add config manager for cluster client
- Add codec SPI mechanism for client entity decoder / writer
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
b3ae7f58bf
Add common module for Sentinel default cluster implementation
- Add a `ClusterTransportClient` for transport abstraction of Sentinel cluster
- Add universal request/response interface and common ClusterRequest/ClusterResponse abstraction
- Add common request/response data entity
- Add basic abstraction of codec (EntityWriter and EntityDecoder)
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan
Eric Zhao
1e46ff11e5
Add modules for Sentinel cluster flow control
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
6 år sedan