codelipenghui commented on a change in pull request #5388: [PIP-47] Introduce 
sticky consumer
URL: https://github.com/apache/pulsar/pull/5388#discussion_r342397176
 
 

 ##########
 File path: pulsar-common/src/main/proto/PulsarApi.proto
 ##########
 @@ -250,6 +255,17 @@ message AuthData {
     optional bytes auth_data = 2;
 }
 
+enum KeySharedMode {
+    autoSplit = 0;
+    exclusiveHashRange = 1;
+}
+
+message KeySharedMeta {
+    required KeySharedMode keySharedMode = 1;
+    required int32 totalHashRange = 2;
 
 Review comment:
   Ok, i will fix by using a fixed range(0-65536), current total range for key 
shared subscription is also (0-65536)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to