docs: public static void main(String[] args) throws Exception {
      ConfigRegistry configRegistry = ConfigBootstrap.configRegistry();
  
      Config config =
          configRegistry
              .objectProperty("io.scalecube.services.examples", Config.class)
              .value()
              .orElseThrow(() -> new IllegalStateException("Couldn't load config"));
  
      LOGGER.info(DECORATOR);
      LOGGER.info("Starting Examples services on {}", config);
      LOGGER.info(DECORATOR);
  
      int numOfThreads =
          Optional.ofNullable(config.numOfThreads())
              .orElse(Runtime.getRuntime().availableProcessors());
      LOGGER.info("Number of worker threads: " + numOfThreads);
  
      Microservices.builder()
          .discovery(serviceEndpoint -> serviceDiscovery(serviceEndpoint, config))
          .transport(opts -> serviceTransport(numOfThreads, opts, config))
          .services(new BenchmarkServiceImpl(), new GreetingServiceImpl())
          .startAwait();
  
      Thread.currentThread().join();
    }