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/07/16 07:01:15 UTC

[GitHub] [rocketmq] tsunghanjacktsai commented on issue #4614: What is the real usefulness of TopicConfig#isOrder?

tsunghanjacktsai commented on issue #4614:
URL: https://github.com/apache/rocketmq/issues/4614#issuecomment-1186104096

   Hi @BurningCN ,
   
   Well, this is definitely an interesting thing to discuss. There were some questions from the community about the usage of ordered topics in RocketMQ these days as well. IMO, these kinds of variables, including the topicSysFlag as you pointed out, that are not really utilized in the code of RocketMQ, are mostly used as signs in some cases.
   
   For instance, I'd like to build an e-commerce order system and need to create a bunch of topics. Some of the topics would need the ordered messages as the info of an order needs to be under the identical topic. To satisfy such kinds of scenarios, those topics would be marked as “ordered” and supplied with sharding keys. In this case, the "isOrder" variable would come into play.
   
   But this is just my two cents, I sometimes would also be confused with those kinds of variables that did not have the actual effect in the codebase. You're also welcome to give your opinions as well.


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