log.warn("Exception was thrown when pushing MQTT message to topic: {}, clientId:{}, exception={}",mqttHeader.getTopicName(),client.getClientId(),ex.getMessage());
}finally{
ReferenceCountUtil.release(message);
}
}else{
log.info("Push message to topic: {}, clientId:{}, canceled!",mqttHeader.getTopicName(),client.getClientId());
log.info("The in-flight window is full, stop pushing message to consumers and update consumeOffset. ClientId={}, rootTopic={}",client.getClientId(),rootTopic);
break;
}
//push message if in-flight window has slot(not full)