You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/05/11 12:19:46 UTC

[GitHub] [pulsar] asafm commented on a diff in pull request #15547: [improve][doc] Expanding on leader election scheme using WaitForExclusive

asafm commented on code in PR #15547:
URL: https://github.com/apache/pulsar/pull/15547#discussion_r870231799


##########
site2/docs/concepts-messaging.md:
##########
@@ -61,11 +61,11 @@ Producers send messages to brokers synchronously (sync) or asynchronously (async
 
 You can have different types of access modes on topics for producers.
 
-|Access mode | Description
-|---|---
-`Shared`|Multiple producers can publish on a topic. <br><br>This is the **default** setting.
-`Exclusive`|Only one producer can publish on a topic. <br><br>If there is already a producer connected, other producers trying to publish on this topic get errors immediately.<br><br>The “old” producer is evicted and a “new” producer is selected to be the next exclusive producer if the “old” producer experiences a network partition with the broker.
-`WaitForExclusive`|If there is already a producer connected, the producer creation is pending (rather than timing out) until the producer gets the `Exclusive` access.<br><br>The producer that succeeds in becoming the exclusive one is treated as the leader. Consequently, if you want to implement the leader election scheme for your application, you can use this access mode.
+| Access mode        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |

Review Comment:
   Table changes (auto fix by IntelliJ) to match GitHub Markdown required (must start and end with pipe)



-- 
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: commits-unsubscribe@pulsar.apache.org

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