ShannonDing opened a new issue #282: Send message back failed some time because timeout set to short. URL: https://github.com/apache/rocketmq-client-cpp/issues/282 **BUG REPORT** 1. Please describe the issue you observed: - What did you do (The steps to reproduce)? To push consumers, set consume messages status to RECONSUME_LATER always. - What did you expect to see? messages were sent to the broker, and consume again later. - What did you see instead? sometimes, sent message back failed, time out exception thow. 2. Please tell us about your environment: - What is your OS? MacOS - What is your client version? 2.0.1 - What is your RocketMQ version? 4.6.0 3. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc): ```bool DefaultMQPushConsumerImpl::sendMessageBack(MQMessageExt& msg, int delayLevel, string& brokerName) { string brokerAddr; if (!brokerName.empty()) brokerAddr = getFactory()->findBrokerAddressInPublish(brokerName); else brokerAddr = socketAddress2IPPort(msg.getStoreHost()); try { getFactory()->getMQClientAPIImpl()->consumerSendMessageBack(brokerAddr, msg, getGroupName(), delayLevel, 3000, getMaxReconsumeTimes(), getSessionCredentials()); } catch (MQException& e) { LOG_ERROR(e.what()); return false; } return true; } ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
