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

 ##########
 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:
   ```suggestion
   By default, a consumer in the key_shared subscription is assigned a fixed 
hash range of keys automatically. If you want to specify the hash range of a 
consumer, you can use the key shared policy:
   ```
   
   Zero conditional sentences express general truths—situations in which one 
thing always causes another. When you use a zero conditional sentence, you’re 
talking about a general truth rather than a specific instance of something. 
   
   Example
   
   If you don’t brush your teeth, you get cavities.
   When people smoke cigarettes, their health suffers.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to