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 2022/01/19 08:44:17 UTC

[GitHub] [rocketmq-client-python] designer-app opened a new issue #121: Question:How to set instance_id when I connect Aliyun RocketMQ?

designer-app opened a new issue #121:
URL: https://github.com/apache/rocketmq-client-python/issues/121


   I am using rocketmq-client-python 2.0.0.
   Lib rocketmq-client-cpp-2.0.0.amd64.deb is install.
   But when I try to connect Aliyun RocketMQ, producer will throw exception and found the instanceName : DEFAULT. Is this problem because of the instance_id not set correctly? How set this?
   
   [2022-Jan-19 08:33:23.690079](info):m_tcpConnectTimeout:3000, m_tcpTransportTryLockTimeout:3, m_pullThreadNum:12[TcpRemotingClient:61]
   [2022-Jan-19 08:33:23.690300](info):MQClient start,groupname:nlp-team-faq,clientID:307-10.2.2.82@DEFAULT,instanceName:DEFAULT,nameserveraddr:MQ_INST_xxxxxxx.cn-hangzhou.mq-internal.aliyuncs.com:8080[start:141]
   [2022-Jan-19 08:33:23.690321](info):DefaultMQProducer:nlp-team-faq start[start:69]
   [2022-Jan-19 08:33:23.690337](info):updateNameServerAddressList: [MQ_INST_xxxxxxx.cn-hangzhou.mq-internal.aliyuncs.com:8080][updateNameServerAddressList:123]
   [2022-Jan-19 08:33:23.690351](info):update Namesrv:MQ_INST_xxxxxxx.cn-hangzhou.mq-internal.aliyuncs.com:8080[updateNameServerAddressList:148]
   [2022-Jan-19 08:33:23.690311](info):TcpRemotingClient::boost asio async service running[boost_asio_work:67]
   [2022-Jan-19 08:33:23.690369](info):user specfied name server address: MQ_INST_xxxxxxx.cn-hangzhou.mq-internal.aliyuncs.com:8080[registerProducer:332]
   [2022-Jan-19 08:33:23.690391](info):MQClientFactory:307-10.2.2.82@DEFAULT start[start:68]
   [2022-Jan-19 08:33:23.690432](warning):sendheartbeat brokeradd is empty[sendHeartbeatToAllBroker:703]
   [2022-Jan-19 08:33:23.690477](info):start scheduled task:307-10.2.2.82@DEFAULT[startScheduledTask:803]
   [2022-Jan-19 08:33:23.690514](info):updateTopicRouteInfoFromNameServer start:faq-unload-skill[updateTopicRouteInfoFromNameServer:159]
   [2022-Jan-19 08:33:23.690594](info):namesrvIndex is:1, index:0, namesrvaddrlist size:1[CreateNameServerTransport:379]
   [2022-Jan-19 08:33:23.698658](info):try to connect to fd:15, addr:MQ_INST_xxxxxxx.cn-hangzhou.mq-internal.aliyuncs.com[connect:172]
   [2022-Jan-19 08:33:23.699732](info):eventcb: received event:80 on fd:15[eventCallback:191]
   [2022-Jan-19 08:33:23.699773](info):eventcb: connect to fd:15 successfully[eventCallback:193]
   [2022-Jan-19 08:33:23.699800](info):connect server with addr:MQ_INST_xxxxxxx.cn-hangzhou.mq-internal.aliyuncs.com:8080 success[CreateTransport:348]
   [2022-Jan-19 08:33:23.700630](warning):sendheartbeat brokeradd is empty[sendHeartbeatToAllBroker:703]
   [2022-Jan-19 08:33:23.708156](info):updateTopicRouteInfoFromNameServer with default[tryToFindTopicPublishInfo:141]
   [2022-Jan-19 08:33:23.708181](info):updateTopicRouteInfoFromNameServer start:faq-unload-skill[updateTopicRouteInfoFromNameServer:159]
   [2022-Jan-19 08:33:23.710422](warning):tryToFindTopicPublishInfo null:faq-unload-skill[tryToFindTopicPublishInfo:146]
   [2022-Jan-19 08:33:23.710445](warning):Retry many times, still failed[sendDefaultImpl:376]
   [2022-Jan-19 08:33:23.710459](info):updateTopicRouteInfoFromNameServer start:faq-unload-skill[updateTopicRouteInfoFromNameServer:159]
   [2022-Jan-19 08:33:23.712650](info):updateTopicRouteInfoFromNameServer with default[tryToFindTopicPublishInfo:141]
   [2022-Jan-19 08:33:23.712686](info):updateTopicRouteInfoFromNameServer start:faq-unload-skill[updateTopicRouteInfoFromNameServer:159]
   [2022-Jan-19 08:33:23.714880](warning):tryToFindTopicPublishInfo null:faq-unload-skill[tryToFindTopicPublishInfo:146]
   [2022-Jan-19 08:33:23.714903](warning):Retry many times, still failed[sendDefaultImpl:376]
   [2022-Jan-19 08:33:23.714915](info):updateTopicRouteInfoFromNameServer start:faq-unload-skill[updateTopicRouteInfoFromNameServer:159]
   [2022-Jan-19 08:33:23.717132](info):updateTopicRouteInfoFromNameServer with default[tryToFindTopicPublishInfo:141]
   [2022-Jan-19 08:33:23.717153](info):updateTopicRouteInfoFromNameServer start:faq-unload-skill[updateTopicRouteInfoFromNameServer:159]
   [2022-Jan-19 08:33:23.719354](warning):tryToFindTopicPublishInfo null:faq-unload-skill[tryToFindTopicPublishInfo:146]
   [2022-Jan-19 08:33:23.719372](warning):Retry many times, still failed[sendDefaultImpl:376]
   [2022-Jan-19 08:33:23.719382](info):updateTopicRouteInfoFromNameServer start:faq-unload-skill[updateTopicRouteInfoFromNameServer:159]
   [2022-Jan-19 08:33:23.721564](info):updateTopicRouteInfoFromNameServer with default[tryToFindTopicPublishInfo:141]
   [2022-Jan-19 08:33:23.721588](info):updateTopicRouteInfoFromNameServer start:faq-unload-skill[updateTopicRouteInfoFromNameServer:159]
   [2022-Jan-19 08:33:23.723755](warning):tryToFindTopicPublishInfo null:faq-unload-skill[tryToFindTopicPublishInfo:146]
   [2022-Jan-19 08:33:23.723770](warning):Retry many times, still failed[sendDefaultImpl:376]
   [2022-Jan-19 08:33:23.723781](info):updateTopicRouteInfoFromNameServer start:faq-unload-skill[updateTopicRouteInfoFromNameServer:159]
   [2022-Jan-19 08:33:23.725950](info):updateTopicRouteInfoFromNameServer with default[tryToFindTopicPublishInfo:141]
   [2022-Jan-19 08:33:23.725967](info):updateTopicRouteInfoFromNameServer start:faq-unload-skill[updateTopicRouteInfoFromNameServer:159]
   [2022-Jan-19 08:33:23.728121](warning):tryToFindTopicPublishInfo null:faq-unload-skill[tryToFindTopicPublishInfo:146]
   [2022-Jan-19 08:33:23.728140](warning):Retry many times, still failed[sendDefaultImpl:376]
   [2022-Jan-19 08:33:23.728219](error):msg: No route info of this topic: faq-unload-skill,error:-1,in file </tmp/rocketmq-client-cpp/src/producer/DefaultMQProducer.cpp> line:379[send:115]
   [2022-Jan-19 08:33:23.731921](info):DefaultMQProducer shutdown[shutdown:96]
   [2022-Jan-19 08:33:23.732073](info):disconnect:MQ_INST_xxxxxxx.cn-hangzhou.mq-internal.aliyuncs.com:8080 start. event:0x562a4adc12a0[disconnect:132]
   [2022-Jan-19 08:33:23.732100](info):disconnect:MQ_INST_xxxxxxx.cn-hangzhou.mq-internal.aliyuncs.com:8080 completely[disconnect:135]
   [2022-Jan-19 08:33:23.732389](error):TcpRemotingClient::stopAllTcpTransportThread End, m_tcpTable:0[stopAllTcpTransportThread:119]
   [2022-Jan-19 08:33:23.732408](info):MQClientFactory:307-10.2.2.82@DEFAULT shutdown[shutdown:298]
   [2022-Jan-19 08:33:23.732418](info):MQClientFactory:307-10.2.2.82@DEFAULT destruct[~MQClientFactory:50]
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org