@Override
    public void serverStopping(Server server) {
        final Endpoint endpoint = getEndpoint(server);
        if (isRegistered) {
            nacosClient.deregister(endpoint)
                       .aggregate()
                       .handle((res, cause) -> {
                           if (cause != null) {
                               logger.warn("Failed to deregister {}:{} from Nacos: {}",
                                           endpoint.ipAddr(), endpoint.port(), nacosClient.uri(), cause);
                           } else if (res.status() != HttpStatus.OK) {
                               logger.warn(
                                       "Failed to deregister {}:{} from Nacos: {}. (status: {}, content: {})",
                                       endpoint.ipAddr(), endpoint.port(), nacosClient.uri(), res.status(),
                                       res.contentUtf8());
                           }
                           return null;
                       });
        }
    }
Returns a newly-created {@link NacosUpdatingListenerBuilder} with the specified {@code nacosUri}
and {@code serviceName} to build {@link NacosUpdatingListener}.

@param nacosUri the URI of Nacos API service, including the path up to but not including API version.
                (example: http://localhost:8848/nacos)
nacos/src/main/java/com/linecorp/armeria/server/nacos/NacosUpdatingListener.java