}
if (partitionSelector instanceof ConfigPartitionsAware) {
((ConfigPartitionsAware) partitionSelector)
.setConfigPartitions(this.producerDiamondManager.getPartitions());
}
return this.addChild(new OrderedMessageProducer(this, this.remotingClient, partitionSelector,
this.producerZooKeeper, this.sessionIdGenerator.generateId(), this.localMessageStorageManager));
}