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/08/14 08:01:17 UTC

[GitHub] [rocketmq-client-cpp] T1anZhenYu opened a new issue, #438: How to set write queue number and read queue number?

T1anZhenYu opened a new issue, #438:
URL: https://github.com/apache/rocketmq-client-cpp/issues/438

   
   
   I want the producer to specify the read/write queue number when it sends a message about a new topic. But in Example, there is no relevant use case. How should I set it?
   


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

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


[GitHub] [rocketmq-client-cpp] T1anZhenYu commented on issue #438: How to set write queue number and read queue number?

Posted by GitBox <gi...@apache.org>.
T1anZhenYu commented on issue #438:
URL: https://github.com/apache/rocketmq-client-cpp/issues/438#issuecomment-1214577353

   Thanks. I will check it out .


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


[GitHub] [rocketmq-client-cpp] T1anZhenYu commented on issue #438: How to set write queue number and read queue number?

Posted by GitBox <gi...@apache.org>.
T1anZhenYu commented on issue #438:
URL: https://github.com/apache/rocketmq-client-cpp/issues/438#issuecomment-1214563752

   > 
   
   When I create a new consumer, I only want a subset of available queues. How can I set it?


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


[GitHub] [rocketmq-client-cpp] lizhanhui commented on issue #438: How to set write queue number and read queue number?

Posted by GitBox <gi...@apache.org>.
lizhanhui commented on issue #438:
URL: https://github.com/apache/rocketmq-client-cpp/issues/438#issuecomment-1214557395

   The number of queues/partitions of a topic is decided and persisted on topic creation.  Is your use case to use only a subset of available queues or change the number of the queues a topic has dynamically?


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


[GitHub] [rocketmq-client-cpp] lizhanhui commented on issue #438: How to set write queue number and read queue number?

Posted by GitBox <gi...@apache.org>.
lizhanhui commented on issue #438:
URL: https://github.com/apache/rocketmq-client-cpp/issues/438#issuecomment-1214571231

   > When I create a new consumer, I only want a subset of available queues. How can I set it?
   
   I assume you are referring to Producer as the first comment.  Yes, you can decide which queue to publish to when delivering a message. Use the one with QueueSelector 
   ```cpp
     virtual SendResult send(MQMessage& msg, MessageQueueSelector* selector, void* arg);
   ```


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