code: public DocumentDbFactory createDocumentDbFactory(final BaseCosmosDbProperties properties) {
          val documentClient = createDocumentClient(properties);
          return new DocumentDbFactory(documentClient);
      }
docs: Create document db factory.
  
  @param properties the properties
  @return the document db factory