Eric Zhao
7997cf65fc
Fix the numeric overflow bug of ping response data in the cluster module ( #844 )
- Change type of cluster ping data response from byte to int. This change is compatible with old versions
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
hace 5 años
Lin.Liang
e6e27c6faa
Make maxParamByteSize configurable in ParamFlowRequestDataWriter of cluster client module and fix bugs ( #823 )
hace 5 años
Bo Zhang
a3369378ad
Apply Alibaba p3c pmd plugin/rules and fix/ignore all violations of priority 1 ( #574 )
hace 5 años
逅弈
59d923ebc1
Add an ApiCommandHandler to list all available commands and description ( #491 )
* Add a ApiCommandHandler which fetch all registered CommandHandlers so that user can get all available CommandHandlers by request /api
* Add a customized CommandHandler demo
hace 5 años
Eric Zhao
f7c08df5c1
Fix bug of calculating param size and amount in ParamFlowRequestDataWriter of Sentinel cluster ( #495 )
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
hace 5 años
Eric Zhao
6a9d479216
Improvements for cluster token client retry and stop control logic
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
hace 6 años
Eric Zhao
40368bdcd6
Config and log enhancement for cluster token client
- Refactor token client common config and assign config
- Log enhancement when transport to token server failed
- Add `getState` method to `ClusterTokenClient` interface
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
hace 6 años
Eric Zhao
2735954afd
Update cluster related command APIs and some enhancement and fix for cluster module
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
hace 6 años
Eric Zhao
a5819e092d
Add HTTP command for modifying global state and client config
- Add several command handlers
- Update cluster state manager
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
hace 6 años
Eric Zhao
138c265a34
Polish cluster client module
- Initial work
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
hace 6 años
Eric Zhao
f83ea428ff
Update token client interface and default implementation
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
hace 6 años
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>
hace 6 años