code: @Override
    public void init(PlayerConfig config) {
      maxEvents = Integer.valueOf(config.get(MAX_EVENTS_KEY));
      producedEvents = 0;
    }
docs: (non-Javadoc)
  
  @see com.sematext.ag.source.Source#init(com.sematext.ag.PlayerConfig)