You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm implementing for #1097 to support grpc in branch feature_support_grpc_core. But I found the naming sdk is hard to inject gRPC because its components are highly coupled.
So I want to refactor them first make them decoupling simply.
Currently, server list is maintained by httpServerProxy. I think it's the first point to extract server list maintainer out from httpServerProxy as a top component.
BeatReactor is a http accessory, but now is as a top component and saved by HostReactor. I think is't the second point to refactor.
Abstract one ClientProxy interface and implement http, grpc and other type may be better.
Describe what you expected to happen
Extract a ServerListManager like config sdk.
Abstract one ClientProxy and refactor ServerProxy as an implementation.
Move BeatReactor into HttpClientProxy
Refactor HostReactor
The text was updated successfully, but these errors were encountered:
…iceInfoUpdateService (#3402)
* Refactor HostReactor.java to ServiceInfoHolder and ServiceInfoUpdateService
* Use http client as default implement of some uncompleted api
Issue Description
Type: refactor
Describe what happened (or what feature you want)
I'm implementing for #1097 to support grpc in branch
feature_support_grpc_core
. But I found the naming sdk is hard to inject gRPC because its components are highly coupled.So I want to refactor them first make them decoupling simply.
httpServerProxy
. I think it's the first point to extract server list maintainer out fromhttpServerProxy
as a top component.HostReactor
. I think is't the second point to refactor.ClientProxy
interface and implement http, grpc and other type may be better.Describe what you expected to happen
ServerListManager
like config sdk.ClientProxy
and refactorServerProxy
as an implementation.BeatReactor
into HttpClientProxyHostReactor
The text was updated successfully, but these errors were encountered: