code: public static SecondaryConfig defaultSecondaryConfig(SecondaryKeyCreator keyCreator) {
          SecondaryConfig cfg = new SecondaryConfig();
          cfg.setAllowCreate(true);
          //Duplicates are frequently required for secondary databases
          cfg.setSortedDuplicates(true);
          cfg.setTransactional(true);
          cfg.setKeyCreator(checkNotNull(keyCreator, "SecondaryKeyCreator cannot be null"));
          return cfg;
      }
docs: Default {@link SecondaryConfig}, {allowCreate: true, sortedDuplicates: true} with given {@link SecondaryKeyCreator}
  @param keyCreator
  @return