}
@Override
public ClusterService build( final MessageHandlerResolver resolver ) {
if ( clusterService == null ) {
clusterService = new ClusterServiceHelix( clusterName, zkAddress, localId, resourceName, resolver );
if ( autostart ) {
clusterService.start();
}
} else {
clusterService.addMessageHandlerResolver( resolver );