codelipenghui commented on a change in pull request #5745: Add document for 
sticky consumer 
URL: https://github.com/apache/pulsar/pull/5745#discussion_r350613050
 
 

 ##########
 File path: site2/docs/client-libraries-java.md
 ##########
 @@ -607,6 +607,19 @@ consumer 2 will receive:
 ("key-4", "message-4-2")
 ```
 
+By default, consumer in `Key_Shared` subscription will be assigned a fixed 
hash range of key automatically. If you want to specify the hash ranges of a 
consumer, you can using the key shared policy:
 
 Review comment:
   We'd better keep `Key_Shared`, since other places also use `Key_Shared` and 
we have already publish the `Key_Shared` subscription in 2.4.0 release. 
   A consumer can specify with multiple key hash ranges, is it ok to use `key 
hash ranges` instead `hash range of keys`

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