Skip to content

Commit

Permalink
Fix java doc for key shared policy. (apache#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.

(cherry picked from commit 77971e4)
  • Loading branch information
codelipenghui authored and tuteng committed Mar 21, 2020
1 parent e939a51 commit 08196be
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 08196be

Please sign in to comment.