类 KeySharedPolicy.KeySharedPolicySticky
java.lang.Object
org.apache.pulsar.client.api.KeySharedPolicy
org.apache.pulsar.client.api.KeySharedPolicy.KeySharedPolicySticky
- 封闭类:
- KeySharedPolicy
Sticky attach topic with fixed hash range.
Total hash range size is 65536, using the sticky hash range policy should ensure that the provided ranges by all consumers can cover the total hash range [0, 65535]. If not, while broker dispatcher can't find the consumer for message, the cursor will rewind.
-
嵌套类概要
从类继承的嵌套类/接口 org.apache.pulsar.client.api.KeySharedPolicy
KeySharedPolicy.KeySharedPolicyAutoSplit, KeySharedPolicy.KeySharedPolicySticky
-
字段概要
字段从类继承的字段 org.apache.pulsar.client.api.KeySharedPolicy
allowOutOfOrderDelivery, DEFAULT_HASH_RANGE_SIZE, keySharedMode
-
方法概要
从类继承的方法 org.apache.pulsar.client.api.KeySharedPolicy
autoSplitHashRange, getHashRangeTotal, getKeySharedMode, isAllowOutOfOrderDelivery, setAllowOutOfOrderDelivery, stickyHashRange
-
字段详细资料
-
ranges
-
-
方法详细资料
-
ranges
-
ranges
-
validate
public void validate()- 指定者:
validate
在类中KeySharedPolicy
-
getRanges
-