You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "hyperevo (via GitHub)" <gi...@apache.org> on 2023/04/05 01:17:21 UTC

[GitHub] [pulsar-client-cpp] hyperevo commented on a diff in pull request #242: [Bug Fix][KeySharedPolicy] Fixed bug where KeySharedPolicy::setStickyRanges duplicated ranges.

hyperevo commented on code in PR #242:
URL: https://github.com/apache/pulsar-client-cpp/pull/242#discussion_r1157915595


##########
include/pulsar/KeySharedPolicy.h:
##########
@@ -98,6 +98,12 @@ class PULSAR_PUBLIC KeySharedPolicy {
      */
     KeySharedPolicy& setStickyRanges(std::initializer_list<StickyRange> ranges);

Review Comment:
   Done.



##########
include/pulsar/KeySharedPolicy.h:
##########
@@ -98,6 +98,12 @@ class PULSAR_PUBLIC KeySharedPolicy {
      */
     KeySharedPolicy& setStickyRanges(std::initializer_list<StickyRange> ranges);
 
+    /**
+     * @param ranges used with sticky mode
+     */
+    KeySharedPolicy& setStickyRanges(StickyRanges ranges);

Review Comment:
   Done.



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