You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Jun Gan (Jira)" <ji...@apache.org> on 2020/05/14 20:06:00 UTC

[jira] [Created] (SCB-1907) [Refactor service-registry Module] Refactor Registry Client Architecture

Jun Gan created SCB-1907:
----------------------------

             Summary: [Refactor service-registry Module] Refactor Registry  Client Architecture
                 Key: SCB-1907
                 URL: https://issues.apache.org/jira/browse/SCB-1907
             Project: Apache ServiceComb
          Issue Type: Improvement
            Reporter: Jun Gan


# too heavy. There are overall 24 methods in *ServiceRegistryClient.java* interface and its extended/implemented classes has even more,  it's hard for other people to extend from this interface as other people has to implement all the method  defined in this interface..
 # currently, it also servers as the extension point..Ideally, the proper extension point should be the Factory class .not the registry client class. (i.e. if we want to introduce another registry method, we should start by addin corresponding factory and registry classes)
 #  The proper deisgn of Registy Client sub-module should be:   Client interface -> abstract client class  -> each type of registry client (i.e. local, center, zeroconfig)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)