success = true;
fetchRequest.resetRetries();
fetchRequest.setOffset(Long.parseLong(booleanCmd.getErrorMsg()), -1, true);
return null;
default:
throw new MetaClientException("Status:" + booleanCmd.getCode() + ",Error message:"
+ ((BooleanCommand) response).getErrorMsg());
}
}
}
catch (final TimeoutException e) {
throw new MetaOpeartionTimeoutException("Send message timeout in "
+ this.consumerConfig.getFetchTimeoutInMills() + " mills");
}
catch (final MetaClientException e) {
throw e;
}
catch (final InterruptedException e) {
throw e;
}
catch (final Exception e) {
throw new MetaClientException("get message failed,topic=" + fetchRequest.getTopic() + ",partition="
+ fetchRequest.getPartition() + ",offset=" + fetchRequest.getOffset(), e);
}
finally {
final long duration = System.currentTimeMillis() - start;
if (duration > 200) {