You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "qshuai (via GitHub)" <gi...@apache.org> on 2023/02/06 03:55:17 UTC

[GitHub] [rocketmq-client-go] qshuai opened a new issue, #992: consumer will start failed when the subscribed topic not created

qshuai opened a new issue, #992:
URL: https://github.com/apache/rocketmq-client-go/issues/992

   I hope the consumer client will hold on and start consuming when the topic created.
   
   please add todo list!


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

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


[GitHub] [rocketmq-client-go] qshuai commented on issue #992: consumer will start failed when the subscribed topic not created

Posted by "qshuai (via GitHub)" <gi...@apache.org>.
qshuai commented on issue #992:
URL: https://github.com/apache/rocketmq-client-go/issues/992#issuecomment-1420763904

   首先消费者不应该自动创建topic,topic创建时的参数(比如queue的数量)应该由生产者来指定。
   其次,如果topic不存在,consumer hold住并没有什么坏处,hold住的这个行为也和kafka一样,没有什么不妥。
   
   另外,你说有可能topic错了,那说topic是存在的情况,不在这个讨论范围里面


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


[GitHub] [rocketmq-client-go] francisoliverlee commented on issue #992: consumer will start failed when the subscribed topic not created

Posted by "francisoliverlee (via GitHub)" <gi...@apache.org>.
francisoliverlee commented on issue #992:
URL: https://github.com/apache/rocketmq-client-go/issues/992#issuecomment-1420273111

   如果broker支持自动创建topic, 这个时候消费者会启动成功, 正常消费。
   如果broker不支持自动创建topic,则会报topic不存在, 目前没有hold on, 有可能topic错了, 永远不会被创建, 消费者不应该一直hold on


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


[GitHub] [rocketmq-client-go] qshuai commented on issue #992: consumer will start failed when the subscribed topic not created

Posted by "qshuai (via GitHub)" <gi...@apache.org>.
qshuai commented on issue #992:
URL: https://github.com/apache/rocketmq-client-go/issues/992#issuecomment-1425171380

   > 
   
   我测试了一下,目前的最新代码(master);我设置broker支持自动创建topic,当consumer subscribe一个不存在topic时,也并没有创建这个topic(报错信息: xxx route info not found, it may not exist)


-- 
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: commits-unsubscribe@rocketmq.apache.org

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