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/03/18 11:31:45 UTC

[GitHub] [pulsar] codelipenghui commented on a change in pull request #14746: [enh][doc]: describe message ID and enhance the description of sequence ID

codelipenghui commented on a change in pull request #14746:
URL: https://github.com/apache/pulsar/pull/14746#discussion_r829916507



##########
File path: site2/docs/concepts-messaging.md
##########
@@ -20,10 +20,11 @@ Value / data payload | The data carried by the message. All Pulsar messages cont
 Key | Messages are optionally tagged with keys, which is useful for things like [topic compaction](concepts-topic-compaction.md).
 Properties | An optional key/value map of user-defined properties.
 Producer name | The name of the producer who produces the message. If you do not specify a producer name, the default name is used. 
-Sequence ID | Each Pulsar message belongs to an ordered sequence on its topic. The sequence ID of the message is its order in that sequence.
+Sequence ID | Each Pulsar message belongs to an ordered sequence on its topic. The sequence ID of a message is assigned by its producer, indicating its order in that sequence.<br />Sequence ID can be used for message deduplication. If `brokerDeduplicationEnabled` is set to `true`, the sequence ID of each message is unique within a partition or a non-partitioned topic. 

Review comment:
       1. The sequence ID also can be assigned by users.
   2. The sequence ID of each message is unique within a producer of a topic(nong-partitioned) or a partition




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