code: @Override
    public void init(PlayerConfig config) throws InitializationFailedException {
      super.init(config);
      PoolingClientConnectionManager connectionManager = (PoolingClientConnectionManager) HTTP_CLIENT_INSTANCE
          .getConnectionManager();
      if (config.get(MAXIMUM_CONNECTIONS_PER_ROUTE_KEY) != null
          && !config.get(MAXIMUM_CONNECTIONS_PER_ROUTE_KEY).isEmpty()) {
        connectionManager.setDefaultMaxPerRoute(Integer.parseInt(config.get(MAXIMUM_CONNECTIONS_PER_ROUTE_KEY)));
      }
      if (config.get(MAXIMUM_CONNECTIONS_TOTAL_KEY) != null && !config.get(MAXIMUM_CONNECTIONS_TOTAL_KEY).isEmpty()) {
        connectionManager.setMaxTotal(Integer.parseInt(config.get(MAXIMUM_CONNECTIONS_TOTAL_KEY)));
      }
    }
docs: (non-Javadoc)
  
  @see com.sematext.ag.sink.Sink#init(com.sematext.ag.PlayerConfig)