You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2020/01/14 06:09:19 UTC

[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #205: push-consumer start failed and coredump when one namesrv host cannot be resolve

ifplusor commented on issue #205: push-consumer start failed and coredump when one namesrv host cannot be resolve
URL: https://github.com/apache/rocketmq-client-cpp/issues/205#issuecomment-574019024
 
 
   DefaultMQPushConsumer::start() will call MQClientFactory::updateTopicRouteInfoFromNameServer() -> ... -> TcpRemotingClient::invokeSync() -> ... -> TcpTransport::connect() -> TcpTransport::getInetAddr(). If host cannot be resolved, evutil_getaddrinfo() will return error, then throw MQClientException. In call chain, nobody catch the exception.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services