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/19 14:41:00 UTC

[jira] [Updated] (SCB-1907) Refactor Registry Client Module Architecture

     [ https://issues.apache.org/jira/browse/SCB-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jun Gan updated SCB-1907:
-------------------------
    Summary: Refactor Registry Client Module Architecture  (was: [Refactor service-registry Module] Refactor Registry  Client Architecture)

> Refactor Registry Client Module Architecture
> --------------------------------------------
>
>                 Key: SCB-1907
>                 URL: https://issues.apache.org/jira/browse/SCB-1907
>             Project: Apache ServiceComb
>          Issue Type: Task
>          Components: Java-Chassis
>            Reporter: Jun Gan
>            Priority: Major
>
> # 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)