@Override
    public String getServiceAuthority() {
        try {
            return InetAddress.getLocalHost().getHostName();
        } catch (final UnknownHostException e) {
            return getOwnAddressString("localhost");
        }
    }
Creates a self name resolver with the given properties.

@param properties The properties to read the server address from.
@param args The arguments for the resolver.
@param executorResource The shared executor resource for channels.
grpc-server-spring-boot-starter/src/main/java/net/devh/boot/grpc/server/nameresolver/SelfNameResolver.java