You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by pe...@apache.org on 2022/05/08 01:41:33 UTC
[pulsar] branch master updated: [improve][doc] Clarify the definition of message key (#15469)
This is an automated email from the ASF dual-hosted git repository.
penghui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new e1a161bd881 [improve][doc] Clarify the definition of message key (#15469)
e1a161bd881 is described below
commit e1a161bd881412556c655736936c8cd98596e7fe
Author: momo-jun <60...@users.noreply.github.com>
AuthorDate: Sun May 8 09:41:26 2022 +0800
[improve][doc] Clarify the definition of message key (#15469)
---
site2/docs/concepts-messaging.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site2/docs/concepts-messaging.md b/site2/docs/concepts-messaging.md
index f33af5545f3..a98e5eb3bd2 100644
--- a/site2/docs/concepts-messaging.md
+++ b/site2/docs/concepts-messaging.md
@@ -17,7 +17,7 @@ Messages are the basic "unit" of Pulsar. The following table lists the component
Component | Description
:---------|:-------
Value / data payload | The data carried by the message. All Pulsar messages contain raw bytes, although message data can also conform to data [schemas](schema-get-started.md).
-Key | Messages are optionally tagged with keys, which is useful for things like [topic compaction](concepts-topic-compaction.md).
+Key | The key (string type) of the message. It is a short name of message key or partition key. Messages are optionally tagged with keys, which is useful for features 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.
Topic name | The name of the topic that the message is published to.