docs: @Override
      public void init(JsonSimpleConfig config) throws Exception {
          name = config.getString(null, "config", "name");
          if (name == null) {
              throw new Exception("Name name provided in queue configuration");
          }
          thread.setName(name);
  
          try {
              globalConfig = new JsonSimpleConfig();
              autoCommit = globalConfig.getBoolean(true, "indexer", "solr",
                      "autocommit");
  
              // Buffering
              docBuffer = new LinkedHashMap<String, String>();
              bufferSize = 0;
              bufferOldest = 0;
              bufferDocLimit = globalConfig.getInteger(BUFFER_LIMIT_DOCS,
                      "indexer", "buffer", "docLimit");
              bufferSizeLimit = globalConfig.getInteger(BUFFER_LIMIT_SIZE,
                      "indexer", "buffer", "sizeLimit");
              bufferTimeLimit = globalConfig.getInteger(BUFFER_LIMIT_TIME,
                      "indexer", "buffer", "timeLimit");
  
          } catch (IOException ioe) {
              log.error("Failed to read configuration: {}", ioe.getMessage());
              throw ioe;
          }
      }