docs: protected void initCollection() {
          boolean collectionExists = MongoUtils.collectionExists(getDatabase(), getCollectionName());
          if (!collectionExists) {
              LOGGER.info("Creating collection [" + getCollectionName() + "]...");
              getDatabase().createCollection(getCollectionName());
              MongoCollection<?> collection = getCollection();
  
              LOGGER.info("Creating index for field [" + getCollectionName() + "."
                      + MongodbQueue.COLLECTION_FIELD_ID + "]...");
              collection.createIndex(new Document().append(MongodbQueue.COLLECTION_FIELD_ID, 1),
                      new IndexOptions().unique(true));
  
              LOGGER.info("Creating index for field [" + getCollectionName() + "."
                      + MongodbQueue.COLLECTION_FIELD_EPHEMERAL_KEY + "]...");
              collection.createIndex(
                      new Document().append(MongodbQueue.COLLECTION_FIELD_EPHEMERAL_KEY, 1),
                      new IndexOptions());
  
              LOGGER.info("Creating index for field [" + getCollectionName() + "."
                      + MongodbQueue.COLLECTION_FIELD_QUEUE_TIME + "]...");
              collection.createIndex(
                      new Document().append(MongodbQueue.COLLECTION_FIELD_QUEUE_TIME, 1),
                      new IndexOptions());
  
              LOGGER.info("Creating index for field [" + getCollectionName() + "."
                      + MongodbQueue.COLLECTION_FIELD_TIME + "]...");
              collection.createIndex(new Document().append(MongodbQueue.COLLECTION_FIELD_TIME, 1),
                      new IndexOptions());
  
          }
      }