Skip to content

Commit

Permalink
Fix java doc for key shared policy. (#6341)
Browse files Browse the repository at this point in the history
The key shared policy does not support setting the maximum key hash range, so fix the java doc.
  • Loading branch information
codelipenghui authored Feb 17, 2020
1 parent 7d4df99 commit 77971e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ public interface ConsumerBuilder<T> extends Cloneable {
* <p>Or
* <pre>
* client.newConsumer()
* .keySharedPolicy(KeySharedPolicy.autoSplitHashRange().hashRangeTotal(100))
* .keySharedPolicy(KeySharedPolicy.autoSplitHashRange())
* .subscribe();
* </pre>
* Details about auto split hash range policy, please see {@link KeySharedPolicy.KeySharedPolicyAutoSplit}.
Expand Down

0 comments on commit 77971e4

Please sign in to comment.