类的使用
org.apache.pulsar.client.api.KeySharedPolicy
-
使用KeySharedPolicy的程序包 程序包 说明 org.apache.pulsar.client.api Pulsar Client API. -
-
org.apache.pulsar.client.api中KeySharedPolicy的使用
org.apache.pulsar.client.api中KeySharedPolicy的子类 修饰符和类型 类 说明 static classKeySharedPolicy.KeySharedPolicyAutoSplitAuto split hash range key shared policy.static classKeySharedPolicy.KeySharedPolicyStickySticky attach topic with fixed hash range.返回KeySharedPolicy的org.apache.pulsar.client.api中的方法 修饰符和类型 方法 说明 KeySharedPolicyKeySharedPolicy. setAllowOutOfOrderDelivery(boolean allowOutOfOrderDelivery)If enabled, it will relax the ordering requirement, allowing the broker to send out-of-order messages in case of failures.参数类型为KeySharedPolicy的org.apache.pulsar.client.api中的方法 修饰符和类型 方法 说明 ConsumerBuilder<T>ConsumerBuilder. keySharedPolicy(KeySharedPolicy keySharedPolicy)Set KeyShared subscription policy for consumer.
-