MsgSender msgSender = this.coreManager.getSender(serverUrl);
// final String brokerId = partition.substring(0,partition.indexOf("-"));
StatsResult ret = msgSender.getStats("offsets", 5000);
if (ret.isSuccess()) {
try {
Utils.processEachLine(ret.getStatsInfo(), new Action() {
@Override
public void process(String line) {
String[] tmp = StringUtils.splitByWholeSeparator(line, " ");
if (tmp != null && tmp.length == 7) {
if(topic.equals(tmp[0])&&partitionId.equals(tmp[2])){