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 2019/11/26 09:08:00 UTC

[GitHub] [pulsar] codelipenghui commented on a change in pull request #5745: Add document for sticky consumer

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:
users@infra.apache.org


With regards,
Apache Git Services