code: @Override
      public void initialize(Map<String, Object> puProperties)
      {
          reader = new RethinkDBEntityReader(kunderaMetadata);
          setExternalProperties(puProperties);
          initializePropertyReader();
          PersistenceUnitMetadata pum = kunderaMetadata.getApplicationMetadata()
                  .getPersistenceUnitMetadata(getPersistenceUnit());
  
          Properties pumProps = pum.getProperties();
  
          if (puProperties != null)
          {
              pumProps.putAll(puProperties);
          }
  
          String host = pumProps.getProperty("kundera.nodes");
          String port = pumProps.getProperty("kundera.port");
  
          if (host == null || port == null)
          {
              throw new KunderaException("Hostname/IP or Port is null.");
          }
  
          connection = r.connection().hostname(host).port(Integer.parseInt(port)).connect();
  
      }
docs: /*
  (non-Javadoc)
  
  @see
  com.impetus.kundera.loader.GenericClientFactory#initialize(java.util.Map)