Enum Class的使用
org.apache.pulsar.client.api.SubscriptionMode
使用SubscriptionMode的程序包
-
org.apache.pulsar.client.api中SubscriptionMode的使用
修饰符和类型方法说明static SubscriptionMode
Returns the enum constant of this class with the specified name.static SubscriptionMode[]
SubscriptionMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明ConsumerBuilder.subscriptionMode
(SubscriptionMode subscriptionMode) Select the subscription mode to be used when subscribing to the topic.