com.github.ibole.microservice.discovery.zookeeper.ZkDiscoveryFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microservice-discovery Show documentation
Show all versions of microservice-discovery Show documentation
The discovery®istry module of microservice project
The newest version!
package com.github.ibole.microservice.discovery.zookeeper;
import com.github.ibole.microservice.common.ServerIdentifier;
import com.github.ibole.microservice.discovery.AbstractDiscoveryFactory;
import com.github.ibole.microservice.discovery.HostMetadata;
import com.github.ibole.microservice.discovery.ServiceDiscovery;
/**
* Zookeeper Discovery Factory.
* @author bwang
*
*/
public class ZkDiscoveryFactory extends AbstractDiscoveryFactory {
@Override
protected ServiceDiscovery createDiscovery(ServerIdentifier identifier) {
return new ZkServiceDiscovery(identifier);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy