@Override
public void run() {
SimpleHttpConsumer.this.commitOffsets();
}
}, config.getCommitOffsetPeriodInMills(), config.getCommitOffsetPeriodInMills(), TimeUnit.MILLISECONDS);
this.fetchManager = new SimpleFetchManager(config, this);
this.fetchManager.resetFetchState();
}