MarvinCai commented on a change in pull request #7917:
URL: https://github.com/apache/pulsar/pull/7917#discussion_r480251540



##########
File path: site2/docs/concepts-messaging.md
##########
@@ -254,9 +254,11 @@ In the diagram below, only **Consumer A-0** is allowed to 
consume messages.
 
 ### Failover
 
-In *failover* mode, multiple consumers can attach to the same subscription. In 
failover mode, the broker selects the master consumer based on the priority 
level and the lexicographical sorting of a consumer name. If two consumers have 
an identical priority level, the broker selects the master consumer based on 
the lexicographical sorting. If these two consumers have different priority 
levels, the broker selects the consumer with a higher priority level as the 
master consumer. The master consumer is initially the only one receiving 
messages. When the master consumer disconnects, all (non-acknowledged and 
subsequent) messages are delivered to the next consumer in line.
+In *failover* mode, multiple consumers can attach to the same subscription. A 
master consumer will be picked for non-partitioned topic or each partition of 
partitioned topic. The master consumer is the only one receiving messages. When 
the master consumer disconnects, all (non-acknowledged and subsequent) messages 
are delivered to the next consumer in line. 

Review comment:
       updated




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

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


Reply via email to