protected MessageConsumer createConsumer(final ConsumerConfig consumerConfig, final OffsetStorage offsetStorage,
final RecoverManager recoverManager0) {
OffsetStorage offsetStorageCopy = offsetStorage;
if (offsetStorageCopy == null) {
offsetStorageCopy = new ZkOffsetStorage(this.metaZookeeper, this.zkClient);
this.zkClientChangedListeners.add((ZkOffsetStorage) offsetStorageCopy);
}
return this.createConsumer0(consumerConfig, offsetStorageCopy, recoverManager0 != null ? recoverManager0
: this.recoverManager);