Service Registry extension guide

Edit
Update time: 2019-06-21

If you want to extend a registry center, you should take a look at the abstract classes of the registry center.

package com.alipay.sofa.rpc.registry;

@Extensible(singleton = false)
public abstract class Registry implements Initializable, Destroyable {
    public abstract boolean start();
    public abstract void register(ProviderConfig config);
    public abstract void unRegister(ProviderConfig config);
    public abstract void batchUnRegister(List<ProviderConfig> configs);
    public abstract List<ProviderGroup> subscribe(ConsumerConfig config);
    public abstract void unSubscribe(ConsumerConfig config);
    public abstract void batchUnSubscribe(List<ConsumerConfig> configs);
}

You can see the main necessary interfaces.

Other interfaces: