final int flag = MessageFlagUtils.getFlag(message);
final PutCommand putCommand =
new PutCommand(topic, partition.getPartition(), encodedData, flag, CheckSum.crc32(encodedData),
this.getTransactionId(), OpaqueGenerator.getNextOpaque());
final BooleanCommand resp = this.invokeToGroup(serverUrl, partition, putCommand, message, timeout, unit);
return this.genSendResult(message, partition, serverUrl, resp);
}
catch (final TimeoutException e) {
throw new MetaOpeartionTimeoutException("Send message timeout in "
+ TimeUnit.MILLISECONDS.convert(timeout, unit) + " mills");