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 2021/10/27 06:38:17 UTC

[GitHub] [rocketmq-externals] Git-Yang commented on pull request #843: [ISSUE #842] Support subGroup whitelist

Git-Yang commented on pull request #843:
URL: https://github.com/apache/rocketmq-externals/pull/843#issuecomment-952587395


   > Is the blacklist better to use? By default, all subgroups are synchronized. If you don't need to synchronize the configuration blacklist. If it is a whitelist, you need to get the regularity or enumeration of all subgroups, and there may be a lot of configuration when you use it.
   
   If you exclude some groups, it may be difficult to write regular expressions, so I agree with you on this point. However, the whitelist used here is mainly based on two considerations:
   1. It is consistent with the usage of Topic whitelist in RmqSourceReplicator.
   2. It is more convenient to use the whitelist to specify the scene of partial group synchronization.
   3. If you need to exclude some groups, you can also use regular expressions. Of course, it will be easier to use a blacklist for this scenario.
   
   Would it be better to provide both whitelist and blacklist?
   


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