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/08/07 09:05:49 UTC

[GitHub] [pulsar] leizhiyuan commented on a diff in pull request #16672: [improve][broker] Use the unique consumer identifier to make the range more spread out.

leizhiyuan commented on code in PR #16672:
URL: https://github.com/apache/pulsar/pull/16672#discussion_r939633832


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ConsistentHashingStickyKeyConsumerSelector.java:
##########
@@ -143,4 +145,8 @@ public Map<Consumer, List<Range>> getConsumerKeyHashRanges() {
         }
         return result;
     }
+
+    private String getConsumerUniqueId(Consumer consumer) {

Review Comment:
   should we make consumerUniqueId a method of Consumer?



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