class FirstFoundLocalLookupStrategy extends AbstractLookupStrategy {

   @Override
   public Object getService() {
      Set<Object> services = context.lookupLocalMicroservice(metaData);
      if (services.isEmpty()) {
         throw new RuntimeException("No service found for: " + metaData);
      }
      return services.iterator().next();

   }

}