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/04/29 05:20:17 UTC

[GitHub] [pulsar] larshp opened a new issue, #15380: [Doc] Terminology? Message Key, Partition Key, Ordering Key

larshp opened a new issue, #15380:
URL: https://github.com/apache/pulsar/issues/15380

   ### What issue do you find in Pulsar docs?
   
   https://pulsar.apache.org/docs/en/concepts-messaging/#messages introduces the concept of a message
   
   In my application I wanted to set the message key, to my surprise, the type contained a "PartitionKey" and "OrderingKey", which at first sight does not seem identical to the message key?
   
   https://github.com/apache/pulsar-client-node/blob/master/index.d.ts#L123-L134
   
   The Java client contains "Key" and "OrderingKey"
   
   https://pulsar.apache.org/api/client/2.10.0-SNAPSHOT/org/apache/pulsar/client/api/Message.html
   
   Only by looking at https://github.com/apache/pulsar/issues/9317 I can deduce that "PartitionKey" is the same as a message "Key"
   
   ### What is your suggestion?
   
   Update the documentation to clarify that message key and partition key is the same concept.
   
   Also suggest adding a note that the key is textual, as I would have guessed it to be raw, just like the message payload.
   
   ### Do you have any references?
   
   .
   
   ### Would you like to fix this issue?
   
   .
   
   ### Note
   
   - [X] I have researched my question.


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

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


[GitHub] [pulsar] codelipenghui closed issue #15380: [Doc] Terminology? Message Key, Partition Key, Ordering Key

Posted by GitBox <gi...@apache.org>.
codelipenghui closed issue #15380: [Doc] Terminology? Message Key, Partition Key, Ordering Key
URL: https://github.com/apache/pulsar/issues/15380


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


[GitHub] [pulsar] momo-jun commented on issue #15380: [Doc] Terminology? Message Key, Partition Key, Ordering Key

Posted by GitBox <gi...@apache.org>.
momo-jun commented on issue #15380:
URL: https://github.com/apache/pulsar/issues/15380#issuecomment-1119406417

   @larshp thanks for filing the issue. Your concern has been addressed in #15469.
   Thanks @RobertIndie for looking into this issue.


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


[GitHub] [pulsar] Anonymitaet commented on issue #15380: [Doc] Terminology? Message Key, Partition Key, Ordering Key

Posted by GitBox <gi...@apache.org>.
Anonymitaet commented on issue #15380:
URL: https://github.com/apache/pulsar/issues/15380#issuecomment-1119137750

   Hi @momo-jun can you take a look at this issue? Thanks


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


[GitHub] [pulsar] larshp commented on issue #15380: [Doc] Terminology? Message Key, Partition Key, Ordering Key

Posted by GitBox <gi...@apache.org>.
larshp commented on issue #15380:
URL: https://github.com/apache/pulsar/issues/15380#issuecomment-1119416489

   thanks, looks good to me 👍 


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