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 2021/08/17 10:37:01 UTC

[GitHub] [pulsar] ivankelly opened a new pull request #11684: [client] Make request IDs more unique

ivankelly opened a new pull request #11684:
URL: https://github.com/apache/pulsar/pull/11684


   When investigating an error, it's nice to be able to correlate client
   errors with logs on the broker side. Normally some sort of trace ID is
   used for this, but since we already have request ID which is carried
   with each message, we can use that.
   
   The requestId generator is still monotonically increasing for the
   client, but starts from a random number between 0 and 2^62. Uniqueness
   isn't guaranteed, but it's only needed for log correlation so it's
   near enough.
   


-- 
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] ivankelly merged pull request #11684: [client] Make request IDs more unique

Posted by GitBox <gi...@apache.org>.
ivankelly merged pull request #11684:
URL: https://github.com/apache/pulsar/pull/11684


   


-- 
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] ivankelly merged pull request #11684: [client] Make request IDs more unique

Posted by GitBox <gi...@apache.org>.
ivankelly merged pull request #11684:
URL: https://github.com/apache/pulsar/pull/11684


   


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