makabakaboom commented on issue #3265: URL: https://github.com/apache/rocketmq/issues/3265#issuecomment-900778603
percentage只是将队列分成灰度和正常队列的比例,如图上每个broker的16个队列将会把每个broker的前两个队列在发送和消费端均默认为灰度队列。如果我们只需要部署1个灰度消费实例时,我们只需要在该实例配置instanceName加上%GRAY%标签,或者直接通过环境变量注入方式打入灰度标签,利用CID在所有消费者具备最终一致性能力,默认所有消费者实例都能感知到有灰度实例上线,这个时候就会将灰度队列分配给带有灰度标签的消费者。而发送端利用相同算法,将带有灰度的流量直接发送到灰度的队列上,因为发送端和消费端在标识灰度队列上算法是一致的,都是每个broker的前N个队列 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
