Enum Class的使用
org.apache.pulsar.client.api.MessageRoutingMode
使用MessageRoutingMode的程序包
-
org.apache.pulsar.client.api中MessageRoutingMode的使用
修饰符和类型方法说明static MessageRoutingMode
Returns the enum constant of this class with the specified name.static MessageRoutingMode[]
MessageRoutingMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明ProducerBuilder.messageRoutingMode
(MessageRoutingMode messageRoutingMode) Set theMessageRoutingMode
for a partitioned producer.